diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2019-04-29 12:02:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 12:02:24 +0300 |
commit | 2cb4d2ee571b91ec2480d2fba17e600a3843ddba (patch) | |
tree | 2106b80863a090b37076542c1894eca076c2dd70 /js/src/gc/RootMarking.cpp | |
parent | 5a65d8739d0ad6ef446b278a25fd955f0c734fb1 (diff) | |
download | UXP-2cb4d2ee571b91ec2480d2fba17e600a3843ddba.tar UXP-2cb4d2ee571b91ec2480d2fba17e600a3843ddba.tar.gz UXP-2cb4d2ee571b91ec2480d2fba17e600a3843ddba.tar.lz UXP-2cb4d2ee571b91ec2480d2fba17e600a3843ddba.tar.xz UXP-2cb4d2ee571b91ec2480d2fba17e600a3843ddba.zip |
Improve dead compartment collection js/src/gc
Diffstat (limited to 'js/src/gc/RootMarking.cpp')
-rw-r--r-- | js/src/gc/RootMarking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/gc/RootMarking.cpp b/js/src/gc/RootMarking.cpp index 93264084b..ed7b8fb6f 100644 --- a/js/src/gc/RootMarking.cpp +++ b/js/src/gc/RootMarking.cpp @@ -478,6 +478,7 @@ js::gc::GCRuntime::bufferGrayRoots() for (GCZonesIter zone(rt); !zone.done(); zone.next()) MOZ_ASSERT(zone->gcGrayRoots.empty()); + gcstats::AutoPhase ap(stats, gcstats::PHASE_BUFFER_GRAY_ROOTS); BufferGrayRootsTracer grayBufferer(rt); if (JSTraceDataOp op = grayRootTracer.op) @@ -539,5 +540,4 @@ GCRuntime::resetBufferedGrayRoots() const "Do not clear the gray buffers unless we are Failed or becoming Unused"); for (GCZonesIter zone(rt); !zone.done(); zone.next()) zone->gcGrayRoots.clearAndFree(); -} - +}
\ No newline at end of file |