Closed
Bug 978498
Opened 10 years ago
Closed 10 years ago
SharedArrayBuffer(ARM, x86): align the start of the data to a page boundary, and fix a memory leak.
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dougc, Assigned: dougc)
References
Details
Attachments
(1 file)
2.31 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
For the ARM and x86, the data or elements of a SharedArrayBuffer could be easily aligned to a page boundary. This might be a prudent constraint to implement now. It will be needed for the buffer.discard() feature in bug 855669, and could alternatively be bundled in there.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → dtc-moz
Attachment #8384194 -
Flags: review?(sstangl)
Comment 2•10 years ago
|
||
Comment on attachment 8384194 [details] [diff] [review] Align the start of the data to a page boundary, and fix a memory leak. Review of attachment 8384194 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/vm/SharedArrayObject.cpp @@ +120,3 @@ > UnmapMemory(p, AsmJSMappedSize); > #else > + UnmapMemory(p, this->length + AsmJSPageSize); Good catch!
Attachment #8384194 -
Flags: review?(sstangl) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Summary: SharedArrayBuffer(ARM, x86): align the start of the data to a page boundary. → SharedArrayBuffer(ARM, x86): align the start of the data to a page boundary, and fix a memory leak.
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5dd4f9dba66e
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5dd4f9dba66e
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•