Open Bug 1219498 Opened 10 years ago Updated 3 years ago

Move all GC setup down to be per GC cycle

Categories

(Core :: JavaScript: GC, defect)

defect

Tracking

()

Tracking Status
firefox44 --- affected

People

(Reporter: terrence, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is the other half of bug 1202923.
Attachment #8680334 - Flags: review?(jcoppeard)
Comment on attachment 8680334 [details] [diff] [review] 58_move_all_gc_state_into_cycle-v0.diff Review of attachment 8680334 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsgc.cpp @@ +6194,5 @@ > GCRuntime::gcCycle(bool nonincrementalByAPI, SliceBudget& budget, JS::gcreason::Reason reason) > { > + AutoTraceLog logGC(TraceLoggerForMainThread(rt), TraceLogger_GC); > + AutoStopVerifyingBarriers av(rt, IsShutdownGC(reason)); > + AutoEnqueuePendingParseTasksAfterGC aept(*this); Is it OK to enqueue pending tasks if we're just about to re-enter the GC?
Attachment #8680334 - Flags: review?(jcoppeard) → review+
You are quite right. Thanks for catching that! Try seems green, or at least green enough: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ac4120d1100
https://hg.mozilla.org/integration/mozilla-inbound/rev/00ceb22b0126ba3b23ff02b2479a0b17c917019f Backout f7cb9a24f1ec (Bug 1219498) for its sinister associations with the GC on a CLOSED TREE.
Assignee: terrence.d.cole → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: