src/share/vm/runtime/stubCodeGenerator.hpp

changeset 3900
d2a62e0f25eb
parent 2954
f8c9417e3571
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3877:74533f63b116 3900: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

mercurial