src/share/vm/services/gcNotifier.cpp

changeset 3900
d2a62e0f25eb
parent 3685
9a5bef0481c8
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/services/gcNotifier.cpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/services/gcNotifier.cpp	Thu Jun 28 17:03:16 2012 -0400
     1.3 @@ -45,7 +45,7 @@
     1.4    // GC may occur between now and the creation of the notification
     1.5    int num_pools = MemoryService::num_memory_pools();
     1.6    // stat is deallocated inside GCNotificationRequest
     1.7 -  GCStatInfo* stat = new(ResourceObj::C_HEAP) GCStatInfo(num_pools);
     1.8 +  GCStatInfo* stat = new(ResourceObj::C_HEAP, mtGC) GCStatInfo(num_pools);
     1.9    mgr->get_last_gc_stat(stat);
    1.10    GCNotificationRequest *request = new GCNotificationRequest(os::javaTimeMillis(),mgr,action,cause,stat);
    1.11    addRequest(request);

mercurial