hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 30177 925cd0b4f0e7
parent 30175 543725014c9d
child 30258 413e15d1b146
--- a/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Tue Apr 14 11:40:13 2015 +0200
+++ b/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Tue Apr 14 11:24:03 2015 +0200
@@ -906,17 +906,6 @@
 
 // Returns "TRUE" iff "p" points into the committed areas of the heap.
 bool GenCollectedHeap::is_in(const void* p) const {
-  #ifndef ASSERT
-  guarantee(VerifyBeforeGC      ||
-            VerifyDuringGC      ||
-            VerifyBeforeExit    ||
-            VerifyDuringStartup ||
-            PrintAssembly       ||
-            tty->count() != 0   ||   // already printing
-            VerifyAfterGC       ||
-    VMError::fatal_error_in_progress(), "too expensive");
-
-  #endif
   return _young_gen->is_in(p) || _old_gen->is_in(p);
 }