src/share/vm/services/memTracker.cpp

changeset 4400
ecd24264898b
parent 4291
bbc14465e7db
child 4512
4102b59539ce
     1.1 --- a/src/share/vm/services/memTracker.cpp	Fri Dec 07 10:55:16 2012 -0800
     1.2 +++ b/src/share/vm/services/memTracker.cpp	Tue Jan 08 14:04:25 2013 -0500
     1.3 @@ -23,6 +23,7 @@
     1.4   */
     1.5  #include "precompiled.hpp"
     1.6  
     1.7 +#include "oops/instanceKlass.hpp"
     1.8  #include "runtime/atomic.hpp"
     1.9  #include "runtime/interfaceSupport.hpp"
    1.10  #include "runtime/mutexLocker.hpp"
    1.11 @@ -485,7 +486,7 @@
    1.12        }
    1.13        // check _worker_thread with lock to avoid racing condition
    1.14        if (_worker_thread != NULL) {
    1.15 -        _worker_thread->at_sync_point(pending_recorders);
    1.16 +        _worker_thread->at_sync_point(pending_recorders, InstanceKlass::number_of_instance_classes());
    1.17        }
    1.18  
    1.19        assert(SequenceGenerator::peek() == 1, "Should not have memory activities during sync-point");

mercurial