Always call the object moved hook when tenuring an object

RESOLVED FIXED in Firefox 48

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jonco, Assigned: jonco)

Tracking

unspecified
mozilla48
Points:
---

Firefox Tracking Flags

(firefox48 fixed)

Details

Attachments

(1 attachment)

At the moment we only call the object moved hook if the class has the JSCLASS_SKIP_NURSERY_FINALIZE flag set.  It seems to me that if the hook is present then we should always call it when tenuring an object, for those objects that don't have special case tenuring behaviour.
Attachment #8742736 - Flags: review?(terrence)
Attachment #8742736 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/b0eb077d0e89
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.