--- old/src/share/vm/memory/freeBlockDictionary.cpp 2014-10-15 14:20:31.928764466 +0200 +++ new/src/share/vm/memory/freeBlockDictionary.cpp 2014-10-15 14:20:31.828767962 +0200 @@ -43,12 +43,10 @@ template void FreeBlockDictionary::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()); - } + 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 }