comparison src/share/vm/runtime/unhandledOops.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
35 const int free_list_size = 256; 35 const int free_list_size = 256;
36 36
37 37
38 UnhandledOops::UnhandledOops(Thread* thread) { 38 UnhandledOops::UnhandledOops(Thread* thread) {
39 _thread = thread; 39 _thread = thread;
40 _oop_list = new (ResourceObj::C_HEAP) 40 _oop_list = new (ResourceObj::C_HEAP, mtInternal)
41 GrowableArray<UnhandledOopEntry>(free_list_size, true); 41 GrowableArray<UnhandledOopEntry>(free_list_size, true);
42 _level = 0; 42 _level = 0;
43 } 43 }
44 44
45 UnhandledOops::~UnhandledOops() { 45 UnhandledOops::~UnhandledOops() {