hotspot/src/share/vm/memory/freeBlockDictionary.cpp
changeset 12509 6228e2085074
parent 12507 6182ca66bc7b
child 13963 e5b53c306fb5
equal deleted inserted replaced
12507:6182ca66bc7b 12509:6228e2085074
    50 }
    50 }
    51 
    51 
    52 template <class Chunk> void FreeBlockDictionary<Chunk>::verify_par_locked() const {
    52 template <class Chunk> void FreeBlockDictionary<Chunk>::verify_par_locked() const {
    53 #ifdef ASSERT
    53 #ifdef ASSERT
    54   if (ParallelGCThreads > 0) {
    54   if (ParallelGCThreads > 0) {
    55     Thread* myThread = Thread::current();
    55     Thread* my_thread = Thread::current();
    56     if (myThread->is_GC_task_thread()) {
    56     if (my_thread->is_GC_task_thread()) {
    57       assert(par_lock() != NULL, "Should be using locking?");
    57       assert(par_lock() != NULL, "Should be using locking?");
    58       assert_lock_strong(par_lock());
    58       assert_lock_strong(par_lock());
    59     }
    59     }
    60   }
    60   }
    61 #endif // ASSERT
    61 #endif // ASSERT