index

src/share/vm/memory/freeList.hpp

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

*** 54,67 **** protected: #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++; } --- 54,70 ---- protected: #ifdef ASSERT Mutex* _protecting_lock; + void assert_proper_lock_protection_work() const; #endif // Asserts false if the protecting lock (if any) is not held. ! void assert_proper_lock_protection() const { ! DEBUG_ONLY(assert_proper_lock_protection_work()); ! } void increment_count() { _count++; }
index