Closed Bug 1530362 Opened 8 months ago Closed 8 months ago

Avoid using JS_AtomizeAndPinStrings because it leaks memory

Categories

(Core :: Javascript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: lth, Assigned: lth)

References

Details

Attachments

(1 file)

See bug 1517491 for more information. The use of this API in the experimental Wasm struct code was accidental and probably a result of thoughtless cargo-culting.

Avoid using the leaky API, use a non-leaky one instead.

Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b299e2b98861
Do Not Use The Forbidden API.  r=jandem
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.