Closed Bug 1104843 Opened 8 years ago Closed 8 years ago

jit-tests fail if a compacting GC happens during initialization

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

Setting GC zeal 14 with a very low frequency (<= 11) causes a crash in engine initialization.
This makes JSRuntime::isSelfHostingZone() return false if no self hosting global has been set yet, rather than asserting.

We use this to avoid compacting the self hosting zone since it may be shared between runtimes.  If it hasn't been initialized yet then this is not a concern.
Attachment #8529078 - Flags: review?(terrence)
Attachment #8529078 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/23e0bc36bbac
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.