mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
7066129: GarbageCollectorMXBean#getLastGcInfo leaks native memory
Make GCStatInfo a resource object Reviewed-by: phh, coleenp
This commit is contained in:
parent
d0b33ef971
commit
501bad4fd6
4 changed files with 13 additions and 12 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
const char* name() { return "CodeCacheManager"; }
|
||||
};
|
||||
|
||||
class GCStatInfo : public CHeapObj {
|
||||
class GCStatInfo : public ResourceObj {
|
||||
private:
|
||||
size_t _index;
|
||||
jlong _start_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue