Closed Bug 716619 Opened 14 years ago Closed 14 years ago

Simplify GC probes

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
The current probes implementation expects a GC to be either a full GC or a GC of a single compartment. We would like to allow multi-compartment GCs. This patch makes the probes a little weaker, but it gives us greater latitude to change the GC.
Attachment #587059 - Flags: review?(sphink)
Comment on attachment 587059 [details] [diff] [review] patch Review of attachment 587059 [details] [diff] [review]: ----------------------------------------------------------------- r+ assuming the !compartment vs !!compartment thing is correct ::: js/src/gc/Statistics.cpp @@ +188,5 @@ > > triggerReason = reason; > > beginPhase(PHASE_GC); > + Probes::GCStart(!compartment); Shouldn't this be !!compartment? @@ +265,5 @@ > > void > Statistics::endGC() > { > + Probes::GCEnd(!compartment); and this
Attachment #587059 - Flags: review?(sphink) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: