comparison src/share/vm/utilities/elfSymbolTable.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
36 * symbol table object represents a symbol section in an elf file. 36 * symbol table object represents a symbol section in an elf file.
37 * Whenever possible, it will load all symbols from the corresponding section 37 * Whenever possible, it will load all symbols from the corresponding section
38 * of the elf file into memory. Otherwise, it will walk the section in file 38 * of the elf file into memory. Otherwise, it will walk the section in file
39 * to look up the symbol that nearest the given address. 39 * to look up the symbol that nearest the given address.
40 */ 40 */
41 class ElfSymbolTable: public CHeapObj { 41 class ElfSymbolTable: public CHeapObj<mtInternal> {
42 friend class ElfFile; 42 friend class ElfFile;
43 public: 43 public:
44 ElfSymbolTable(FILE* file, Elf_Shdr shdr); 44 ElfSymbolTable(FILE* file, Elf_Shdr shdr);
45 ~ElfSymbolTable(); 45 ~ElfSymbolTable();
46 46