index

src/share/vm/memory/freeList.hpp

Print this page
rev 7212 : imported patch rev3

@@ -57,17 +57,11 @@
 #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 assert_proper_lock_protection() const;
 
   void increment_count()    {
     _count++;
   }
 
index