Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceMirrorKlass.hpp @ 8001:db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
author | jprovino |
---|---|
date | Wed, 23 Jan 2013 13:02:39 -0500 |
parents | aed758eda82a |
children | 190899198332 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
26 #define SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP | 26 #define SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP |
27 | 27 |
28 #include "classfile/systemDictionary.hpp" | 28 #include "classfile/systemDictionary.hpp" |
29 #include "oops/instanceKlass.hpp" | 29 #include "oops/instanceKlass.hpp" |
30 #include "runtime/handles.hpp" | 30 #include "runtime/handles.hpp" |
31 #include "utilities/macros.hpp" | |
31 | 32 |
32 // An InstanceMirrorKlass is a specialized InstanceKlass for | 33 // An InstanceMirrorKlass is a specialized InstanceKlass for |
33 // java.lang.Class instances. These instances are special because | 34 // java.lang.Class instances. These instances are special because |
34 // they contain the static fields of the class in addition to the | 35 // they contain the static fields of the class in addition to the |
35 // normal fields of Class. This means they are variable sized | 36 // normal fields of Class. This means they are variable sized |
105 int oop_oop_iterate##nv_suffix##_m(oop obj, OopClosureType* blk, MemRegion mr); | 106 int oop_oop_iterate##nv_suffix##_m(oop obj, OopClosureType* blk, MemRegion mr); |
106 | 107 |
107 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceMirrorKlass_OOP_OOP_ITERATE_DECL) | 108 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceMirrorKlass_OOP_OOP_ITERATE_DECL) |
108 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceMirrorKlass_OOP_OOP_ITERATE_DECL) | 109 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceMirrorKlass_OOP_OOP_ITERATE_DECL) |
109 | 110 |
110 #ifndef SERIALGC | 111 #if INCLUDE_ALL_GCS |
111 #define InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL(OopClosureType, nv_suffix) \ | 112 #define InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL(OopClosureType, nv_suffix) \ |
112 int oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* blk); | 113 int oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* blk); |
113 | 114 |
114 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) | 115 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) |
115 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) | 116 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceMirrorKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) |
116 #endif // !SERIALGC | 117 #endif // INCLUDE_ALL_GCS |
117 }; | 118 }; |
118 | 119 |
119 #endif // SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP | 120 #endif // SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP |