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

Unified Diff: Source/bindings/core/v8/WrapperTypeInfo.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/V8GCController.cpp ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/WrapperTypeInfo.h
diff --git a/Source/bindings/core/v8/WrapperTypeInfo.h b/Source/bindings/core/v8/WrapperTypeInfo.h
index ee3b098ce79bf9d33be3b1c733619a78cfead8e2..8bd8d644313a3debd67f2121ffd9048088817702 100644
--- a/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -127,10 +127,10 @@ struct WrapperTypeInfo {
void refObject(ScriptWrappable* scriptWrappable) const
{
if (gcType == GarbageCollectedObject) {
- ThreadState::current()->persistentAllocated();
+ ThreadState::current()->wrapperAllocated();
} else if (gcType == WillBeGarbageCollectedObject) {
#if ENABLE(OILPAN)
- ThreadState::current()->persistentAllocated();
+ ThreadState::current()->wrapperAllocated();
#endif
}
ASSERT(refObjectFunction);
@@ -140,10 +140,10 @@ struct WrapperTypeInfo {
void derefObject(ScriptWrappable* scriptWrappable) const
{
if (gcType == GarbageCollectedObject) {
- ThreadState::current()->persistentFreed();
+ ThreadState::current()->wrapperFreed();
} else if (gcType == WillBeGarbageCollectedObject) {
#if ENABLE(OILPAN)
- ThreadState::current()->persistentFreed();
+ ThreadState::current()->wrapperFreed();
#endif
}
ASSERT(derefObjectFunction);
« no previous file with comments | « Source/bindings/core/v8/V8GCController.cpp ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698