< prev index next >
src/share/vm/memory/freeList.hpp
Print this page
rev 7212 : imported patch rev3
*** 57,73 ****
#ifdef ASSERT
Mutex* _protecting_lock;
#endif
// Asserts false if the protecting lock (if any) is not held.
! void assert_proper_lock_protection_work() const PRODUCT_RETURN;
! void assert_proper_lock_protection() const {
! #ifdef ASSERT
! if (_protecting_lock != NULL)
! assert_proper_lock_protection_work();
! #endif
! }
void increment_count() {
_count++;
}
--- 57,67 ----
#ifdef ASSERT
Mutex* _protecting_lock;
#endif
// Asserts false if the protecting lock (if any) is not held.
! void assert_proper_lock_protection() const;
void increment_count() {
_count++;
}
< prev index next >