Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: Source/platform/heap/Handle.h

Issue 1335493003: Oilpan: The number of normal persistent handles shouldn't be used for estimating heap size (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index fe1c9a6b37b3ea20e7a5ca2242597f239d7d70c3..1f8e75913755e2cd19c87e3736d1e602045e27c1 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -211,7 +211,6 @@ private:
ThreadState* state = ThreadStateFor<ThreadingTrait<T>::Affinity>::state();
ASSERT(state->checkThread());
m_persistentNode = state->persistentRegion()->allocatePersistentNode(this, traceCallback);
- state->persistentAllocated();
#if ENABLE(ASSERT)
m_state = state;
#endif
@@ -228,7 +227,6 @@ private:
// Persistent handle must be created and destructed in the same thread.
ASSERT(m_state == state);
state->persistentRegion()->freePersistentNode(m_persistentNode);
- state->persistentFreed();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698