Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceKlass.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 | 212c5b9c38e7 |
children | 3c9bc17b9403 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
34 #include "runtime/atomic.hpp" | 34 #include "runtime/atomic.hpp" |
35 #include "runtime/handles.hpp" | 35 #include "runtime/handles.hpp" |
36 #include "runtime/os.hpp" | 36 #include "runtime/os.hpp" |
37 #include "utilities/accessFlags.hpp" | 37 #include "utilities/accessFlags.hpp" |
38 #include "utilities/bitMap.inline.hpp" | 38 #include "utilities/bitMap.inline.hpp" |
39 #include "utilities/macros.hpp" | |
39 | 40 |
40 // An InstanceKlass is the VM level representation of a Java class. | 41 // An InstanceKlass is the VM level representation of a Java class. |
41 // It contains all information needed for at class at execution runtime. | 42 // It contains all information needed for at class at execution runtime. |
42 | 43 |
43 // InstanceKlass layout: | 44 // InstanceKlass layout: |
930 MemRegion mr); | 931 MemRegion mr); |
931 | 932 |
932 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceKlass_OOP_OOP_ITERATE_DECL) | 933 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceKlass_OOP_OOP_ITERATE_DECL) |
933 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_DECL) | 934 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_DECL) |
934 | 935 |
935 #ifndef SERIALGC | 936 #if INCLUDE_ALL_GCS |
936 #define InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL(OopClosureType, nv_suffix) \ | 937 #define InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL(OopClosureType, nv_suffix) \ |
937 int oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* blk); | 938 int oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* blk); |
938 | 939 |
939 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) | 940 ALL_OOP_OOP_ITERATE_CLOSURES_1(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) |
940 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) | 941 ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL) |
941 #endif // !SERIALGC | 942 #endif // INCLUDE_ALL_GCS |
942 | 943 |
943 u2 idnum_allocated_count() const { return _idnum_allocated_count; } | 944 u2 idnum_allocated_count() const { return _idnum_allocated_count; } |
944 private: | 945 private: |
945 // initialization state | 946 // initialization state |
946 #ifdef ASSERT | 947 #ifdef ASSERT |