src/share/vm/prims/jvmtiUtil.cpp

changeset 3900
d2a62e0f25eb
parent 2314
f95d63e2154a
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3877:74533f63b116 3900:d2a62e0f25eb
38 38
39 ResourceArea* JvmtiUtil::single_threaded_resource_area() { 39 ResourceArea* JvmtiUtil::single_threaded_resource_area() {
40 if (_single_threaded_resource_area == NULL) { 40 if (_single_threaded_resource_area == NULL) {
41 // lazily create the single threaded resource area 41 // lazily create the single threaded resource area
42 // pick a size which is not a standard since the pools don't exist yet 42 // pick a size which is not a standard since the pools don't exist yet
43 _single_threaded_resource_area = new ResourceArea(Chunk::non_pool_size); 43 _single_threaded_resource_area = new (mtInternal) ResourceArea(Chunk::non_pool_size);
44 } 44 }
45 return _single_threaded_resource_area; 45 return _single_threaded_resource_area;
46 } 46 }

mercurial