Closed Bug 1563310 Opened 6 years ago Closed 6 years ago

Update ProfilerGetSymbols.jsm to pick up PR #2

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file, 1 obsolete file)

In the profiler-get-symbols repository, Ted recently landed a PR: https://github.com/mstange/profiler-get-symbols/pull/2

I'll be using this bug to update ProfilerGetSymbols.jsm to pick up the new wasm module that was built from the updated code.

Blocks: 1563305

The repo has seen three notable changes since last time:

  • The pdb changes from PR #2, which don't really affect any outward behavior.
  • I updated the version of wasm-bindgen.
  • I created a WasmMemBuffer abstraction which lets us avoid the buffer copy
    without relying on wasm-bindgen implementation details. This is possible due
    to the new Uint8Array::view API that wasm-bindgen shipped in April.

The last part is what allowed me to simplify the code in ProfilerGetSymbols-worker.js.
Those changes are the only part that's worth reviewing.

The changes in profiler_get_symbols.js are not worth reviewing; they're
autogenerated by wasm-bindgen. The new version of wasm-bindgen generates
slightly different JS code, and the addition of the WasmMemBuffer struct also
caused some of that JS code to change.

Blocks: 1567590

Comment on attachment 9079450 [details]
Bug 1563310: Refactor get_compact_symbol_table in profiler_get_symbols to adjust to return result param

Revision D38718 was moved to bug 1567590. Setting attachment 9079450 [details] to obsolete.

Attachment #9079450 - Attachment is obsolete: true
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/e5a6e4d16569 Update profiler-get-symbols WASM module and update JS code for the updated binding API. r=julienw
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: