Count GlobalHandles::PostGarbageCollectionProcessing() as being

in external code so it's visible when running with --trace-gc.

Landed on behalf of James Robinson (jamesr@chromium.org).

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3981 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
kasperl@chromium.org 2010-03-01 07:04:42 +00:00
parent dd7b55eb9f
commit 9f2f6f4022

View File

@ -594,6 +594,7 @@ void Heap::PerformGarbageCollection(AllocationSpace space,
if (collector == MARK_COMPACTOR) { if (collector == MARK_COMPACTOR) {
DisableAssertNoAllocation allow_allocation; DisableAssertNoAllocation allow_allocation;
GCTracer::ExternalScope scope(tracer);
GlobalHandles::PostGarbageCollectionProcessing(); GlobalHandles::PostGarbageCollectionProcessing();
} }