comparison src/share/vm/runtime/stubCodeGenerator.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 f8c9417e3571
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
34 // A StubCodeDesc describes a piece of generated code (usually stubs). 34 // A StubCodeDesc describes a piece of generated code (usually stubs).
35 // This information is mainly useful for debugging and printing. 35 // This information is mainly useful for debugging and printing.
36 // Currently, code descriptors are simply chained in a linked list, 36 // Currently, code descriptors are simply chained in a linked list,
37 // this may have to change if searching becomes too slow. 37 // this may have to change if searching becomes too slow.
38 38
39 class StubCodeDesc: public CHeapObj { 39 class StubCodeDesc: public CHeapObj<mtCode> {
40 protected: 40 protected:
41 static StubCodeDesc* _list; // the list of all descriptors 41 static StubCodeDesc* _list; // the list of all descriptors
42 static int _count; // length of list 42 static int _count; // length of list
43 43
44 StubCodeDesc* _next; // the next element in the linked list 44 StubCodeDesc* _next; // the next element in the linked list