--- 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);
}