Open Bug 1159323 Opened 11 years ago Updated 4 months ago

[jsdbg2] The onGarbageCollection hook should fire for each slice instead of each cycle

Categories

(Core :: JavaScript: Debugger API, defect)

defect

Tracking

()

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

It turns out that the API would be easier for devtools API users if it were this way. We would need to restructure the event data to something like { // Whether this is an incremental slice, or not. isIncrementalSlice: true|false, // This would just be the major GC number, used to identify // which slices are related to each other. incrementalGCCycle: Number, // If nonincremental, string saying why. nonincrementalReason: null|string, // Short string describing why we are GCing at all. reason: string, // Timestamps for the start and end of this slice/collection. startTimestamp: timestamp, endTimestamp: timestamp }
Severity: normal → S3

Moving bugs to Debugger API component. Use castle-terms-potato to filter out.

Component: JavaScript Engine → JavaScript: Debugger API
You need to log in before you can comment on or make changes to this bug.