Reviewers: Michael Starzinger,

Message:
the handlepocalypse should be over
only one way to find out

Description:
turn on global handle zapping

[email protected]
BUG=

Please review this at https://chromiumcodereview.appspot.com/22909051/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/global-handles.cc


Index: src/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index 5df9dd4c6c78857f517bc83b23a19b5e4d4d2179..cb113689a58303433a99a53f603e1f0ae3dfaef1 100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -118,14 +118,12 @@ class GlobalHandles::Node {
   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.

Reply via email to