mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
This commit is contained in:
parent
0a108f9ef2
commit
77bdc30650
67 changed files with 144 additions and 158 deletions
|
@ -1145,7 +1145,7 @@ JvmtiEnvBase::get_object_monitor_usage(JavaThread* calling_thread, jobject objec
|
|||
|
||||
ResourceTracker::ResourceTracker(JvmtiEnv* env) {
|
||||
_env = env;
|
||||
_allocations = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<unsigned char*>(20, true);
|
||||
_allocations = new (ResourceObj::C_HEAP, mtServiceability) GrowableArray<unsigned char*>(20, mtServiceability);
|
||||
_failed = false;
|
||||
}
|
||||
ResourceTracker::~ResourceTracker() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue