Closed
Bug 1167433
Opened 11 years ago
Closed 11 years ago
AccessorShape is not a layout / trace kind
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: terrence, Assigned: terrence)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
1.02 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
I'm not sure how I missed this before, but AccessorShape is a refinement AllocKind, like OBJECT4, than it is a TraceKind in its own right. It's not even in JSGCTraceKind and we don't actually use its inclusion in our list anywhere. We can remove it and it affects nothing.
Attachment #8609064 -
Flags: review?(jcoppeard)
Comment 1•11 years ago
|
||
Comment on attachment 8609064 [details] [diff] [review]
remove_accessorshape_layout-v0.diff
Review of attachment 8609064 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. Shouldn't AccessorShape be part of the FOR_EACH_GC_POINTER_TYPE list in Marking.cpp though?
Attachment #8609064 -
Flags: review?(jcoppeard) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Good call! In practice we always mark these as Shape*, so it happens not to matter at the moment, but it certainly will if we ever use this list for more things.
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•