Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/stubCodeGenerator.hpp @ 6275:957c266d8bc5
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Aug 2012 10:39:19 +0200 |
parents | d2a62e0f25eb |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
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 |