< prev index next >
src/share/vm/memory/freeBlockDictionary.cpp
Print this page
rev 7213 : [mq]: rev4
@@ -41,17 +41,15 @@
_lock = lock;
}
template <class Chunk> void FreeBlockDictionary<Chunk>::verify_par_locked() const {
#ifdef ASSERT
- if (ParallelGCThreads > 0) {
Thread* my_thread = Thread::current();
if (my_thread->is_GC_task_thread()) {
assert(par_lock() != NULL, "Should be using locking?");
assert_lock_strong(par_lock());
}
- }
#endif // ASSERT
}
#endif
template class FreeBlockDictionary<Metablock>;
< prev index next >