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 } |