Revision: 16432
Author: [email protected]
Date: Thu Aug 29 15:03:37 2013 UTC
Log: turn on global handle zapping
[email protected]
BUG=
Review URL: https://codereview.chromium.org/22909051
http://code.google.com/p/v8/source/detail?r=16432
Modified:
/branches/bleeding_edge/src/global-handles.cc
=======================================
--- /branches/bleeding_edge/src/global-handles.cc Mon Aug 26 09:41:22 2013
UTC
+++ /branches/bleeding_edge/src/global-handles.cc Thu Aug 29 15:03:37 2013
UTC
@@ -118,14 +118,12 @@
void Release() {
ASSERT(state() != FREE);
set_state(FREE);
-#ifdef ENABLE_EXTRA_CHECKS
// Zap the values for eager trapping.
object_ = reinterpret_cast<Object*>(kGlobalHandleZapValue);
class_id_ = v8::HeapProfiler::kPersistentHandleNoClassId;
set_independent(false);
set_partially_dependent(false);
weak_reference_callback_ = NULL;
-#endif
DecreaseBlockUses();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.