Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiEnvThreadState.cpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f95d63e2154a |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
93 // | 93 // |
94 // class JvmtiFramePops - public methods | 94 // class JvmtiFramePops - public methods |
95 // | 95 // |
96 | 96 |
97 JvmtiFramePops::JvmtiFramePops() { | 97 JvmtiFramePops::JvmtiFramePops() { |
98 _pops = new (ResourceObj::C_HEAP) GrowableArray<int> (2, true); | 98 _pops = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<int> (2, true); |
99 } | 99 } |
100 | 100 |
101 JvmtiFramePops::~JvmtiFramePops() { | 101 JvmtiFramePops::~JvmtiFramePops() { |
102 // return memory to c_heap. | 102 // return memory to c_heap. |
103 delete _pops; | 103 delete _pops; |