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

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

Issue 1272083003: Oilpan: Make the GC heuristics saner Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/platform/heap/Heap.h » ('j') | 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 d3a1cc23de41db114edbae4e6c19e368a1bde476..d7fa53c478a8e5d3aea28a52f04511de66e5e5a8 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -207,7 +207,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
@@ -224,7 +223,6 @@ private:
// Persistent handle must be created and destructed in the same thread.
ASSERT(m_state == state);
state->persistentRegion()->freePersistentNode(m_persistentNode);
- state->persistentFreed();
}
}
@@ -380,7 +378,6 @@ private:
ThreadState* state = ThreadState::current();
ASSERT(state->checkThread());
m_persistentNode = state->persistentRegion()->allocatePersistentNode(this, TraceMethodDelegate<PersistentHeapCollectionBase<Collection>, &PersistentHeapCollectionBase<Collection>::trace>::trampoline);
- state->persistentAllocated();
#if ENABLE(ASSERT)
m_state = state;
#endif
@@ -393,7 +390,6 @@ private:
// Persistent handle must be created and destructed in the same thread.
ASSERT(m_state == state);
state->persistentRegion()->freePersistentNode(m_persistentNode);
- state->persistentFreed();
}
PersistentNode* m_persistentNode;
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698