index

src/share/vm/memory/freeList.cpp

Print this page
rev 7214 : imported patch rev3
rev 7216 : [mq]: rev5

*** 285,297 **** curFC = curFC->next(); } return false; } - template <class Chunk> - void FreeList<Chunk>::assert_proper_lock_protection() const { #ifdef ASSERT // Nothing to do if the list has no assigned protecting lock if (protecting_lock() == NULL) { return; } --- 285,297 ---- curFC = curFC->next(); } return false; } #ifdef ASSERT + template <class Chunk> + void FreeList<Chunk>::assert_proper_lock_protection_work() const { // Nothing to do if the list has no assigned protecting lock if (protecting_lock() == NULL) { return; }
*** 303,314 **** } else if (thr->is_Java_thread()) { assert(!SafepointSynchronize::is_at_safepoint(), "Should not be executing"); } else { ShouldNotReachHere(); // unaccounted thread type? } - #endif } // Print the "label line" for free list stats. template <class Chunk> void FreeList<Chunk>::print_labels_on(outputStream* st, const char* c) { st->print("%16s\t", c); --- 303,314 ---- } else if (thr->is_Java_thread()) { assert(!SafepointSynchronize::is_at_safepoint(), "Should not be executing"); } else { ShouldNotReachHere(); // unaccounted thread type? } } + #endif // Print the "label line" for free list stats. template <class Chunk> void FreeList<Chunk>::print_labels_on(outputStream* st, const char* c) { st->print("%16s\t", c);
index