src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp

changeset 1580
e018e6884bd8
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp	Wed Dec 16 15:12:51 2009 -0800
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp	Wed Dec 23 09:23:54 2009 -0800
     1.3 @@ -29,8 +29,11 @@
     1.4  // the parallel threads.
     1.5  class CMSLockVerifier: AllStatic {
     1.6   public:
     1.7 -  static void assert_locked(const Mutex* lock, const Mutex* p_lock)
     1.8 +  static void assert_locked(const Mutex* lock, const Mutex* p_lock1, const Mutex* p_lock2)
     1.9      PRODUCT_RETURN;
    1.10 +  static void assert_locked(const Mutex* lock, const Mutex* p_lock) {
    1.11 +    assert_locked(lock, p_lock, NULL);
    1.12 +  }
    1.13    static void assert_locked(const Mutex* lock) {
    1.14      assert_locked(lock, NULL);
    1.15    }

mercurial