Closed
Bug 886575
Opened 12 years ago
Closed 12 years ago
Fix generational GC crash on octane-gbemu
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: terrence, Assigned: terrence)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
7.37 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
When we store a value into TypedArray::DATA_SLOT that is into the middle of a nursery thing, we also store a write barrier to update it at the next minor GC. If, however, we do fallback marking because the buffer overflows, we skip this barrier. For this reason, and for eventual heap compaction, we need to do the same relocation as a normal part of marking.
Attachment #766931 -
Flags: review?(sphink)
Updated•12 years ago
|
Attachment #766931 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 1•12 years ago
|
||
The prior version crashes on 2 jittests that use DataView, because DataView does not have a trace hook. This adds the trace hook.
Attachment #766931 -
Attachment is obsolete: true
Attachment #766974 -
Flags: review?(sphink)
Comment 2•12 years ago
|
||
Comment on attachment 766974 [details] [diff] [review]
v1: fixed after jit-test crashes
Review of attachment 766974 [details] [diff] [review]:
-----------------------------------------------------------------
This is fine if you file a followup bug to do the IsMarked() on NEXT_VIEW_SLOT.
Attachment #766974 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 3•12 years ago
|
||
I added the VIEW_SLOT weak marking in this patch.
https://hg.mozilla.org/integration/mozilla-inbound/rev/866dbb8830d1
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•