Mercurial > hg > truffle
diff src/share/vm/services/memoryManager.hpp @ 4844:bf864f701a4a
7066129: GarbageCollectorMXBean#getLastGcInfo leaks native memory
Summary: Make GCStatInfo a resource object
Reviewed-by: phh, coleenp
author | dsamersoff |
---|---|
date | Wed, 25 Jan 2012 02:29:05 +0400 |
parents | 78542e2b5e35 |
children | d2a62e0f25eb |
line wrap: on
line diff
--- a/src/share/vm/services/memoryManager.hpp Mon Jan 23 17:45:32 2012 -0800 +++ b/src/share/vm/services/memoryManager.hpp Wed Jan 25 02:29:05 2012 +0400 @@ -108,7 +108,7 @@ const char* name() { return "CodeCacheManager"; } }; -class GCStatInfo : public CHeapObj { +class GCStatInfo : public ResourceObj { private: size_t _index; jlong _start_time;