1.1 --- a/src/share/vm/prims/jvmtiCodeBlobEvents.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/prims/jvmtiCodeBlobEvents.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -157,7 +157,7 @@ 1.4 assert(_global_code_blobs == NULL, "checking"); 1.5 1.6 // create the global list 1.7 - _global_code_blobs = new (ResourceObj::C_HEAP) GrowableArray<JvmtiCodeBlobDesc*>(50,true); 1.8 + _global_code_blobs = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<JvmtiCodeBlobDesc*>(50,true); 1.9 1.10 // iterate over the stub code descriptors and put them in the list first. 1.11 int index = 0; 1.12 @@ -247,7 +247,7 @@ 1.13 int pcds_in_method; 1.14 1.15 pcds_in_method = (nm->scopes_pcs_end() - nm->scopes_pcs_begin()); 1.16 - map = NEW_C_HEAP_ARRAY(jvmtiAddrLocationMap, pcds_in_method); 1.17 + map = NEW_C_HEAP_ARRAY(jvmtiAddrLocationMap, pcds_in_method, mtInternal); 1.18 1.19 address scopes_data = nm->scopes_data_begin(); 1.20 for( pcd = nm->scopes_pcs_begin(); pcd < nm->scopes_pcs_end(); ++pcd ) {