Closed
Bug 716619
Opened 14 years ago
Closed 14 years ago
Simplify GC probes
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: billm, Assigned: billm)
References
Details
Attachments
(1 file)
8.58 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter 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 1•14 years ago
|
||
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+
Assignee | ||
Comment 2•14 years ago
|
||
Target Milestone: --- → mozilla12
Assignee | ||
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
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.
Description
•