Version 3.7.11
Fixed bug when generating padding to ensure space for lazy deoptimization. (issue 1846)
Further reduced pause times due to GC.
Stability and performance improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@10089 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap-inl.h b/src/heap-inl.h
index 396f678..8977cdb 100644
--- a/src/heap-inl.h
+++ b/src/heap-inl.h
@@ -255,16 +255,11 @@
ExternalString::kResourceOffset -
kHeapObjectTag);
- // Clear pointer cache.
- ExternalString::cast(string)->clear_data_cache();
-
// Dispose of the C++ object if it has not already been disposed.
if (*resource_addr != NULL) {
(*resource_addr)->Dispose();
+ *resource_addr = NULL;
}
-
- // Clear the resource pointer in the string.
- *resource_addr = NULL;
}