Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiClassFileReconstituter.hpp @ 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 | c01e115b095e |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 ~JvmtiConstantPoolReconstituter() { | 69 ~JvmtiConstantPoolReconstituter() { |
70 if (_symmap != NULL) { | 70 if (_symmap != NULL) { |
71 os::free(_symmap); | 71 os::free(_symmap, mtClass); |
72 _symmap = NULL; | 72 _symmap = NULL; |
73 } | 73 } |
74 if (_classmap != NULL) { | 74 if (_classmap != NULL) { |
75 os::free(_classmap); | 75 os::free(_classmap, mtClass); |
76 _classmap = NULL; | 76 _classmap = NULL; |
77 } | 77 } |
78 } | 78 } |
79 | 79 |
80 | 80 |