Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/elfFile.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 | d7e3846464d0 |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
80 // that is the nearest to the given address. | 80 // that is the nearest to the given address. |
81 // Beware, this code is called from vm error reporting code, when vm is already | 81 // Beware, this code is called from vm error reporting code, when vm is already |
82 // in "error" state, so there are scenarios, lookup will fail. We want this | 82 // in "error" state, so there are scenarios, lookup will fail. We want this |
83 // part of code to be very defensive, and bait out if anything went wrong. | 83 // part of code to be very defensive, and bait out if anything went wrong. |
84 | 84 |
85 class ElfFile: public CHeapObj { | 85 class ElfFile: public CHeapObj<mtInternal> { |
86 friend class ElfDecoder; | 86 friend class ElfDecoder; |
87 public: | 87 public: |
88 ElfFile(const char* filepath); | 88 ElfFile(const char* filepath); |
89 ~ElfFile(); | 89 ~ElfFile(); |
90 | 90 |