Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlass.hpp @ 8002:8391fdd36e1f
Merge
author | dlong |
---|---|
date | Sun, 27 Jan 2013 01:07:09 -0800 |
parents | db9981fd3124 |
children | 3c9bc17b9403 |
comparison
equal
deleted
inserted
replaced
7946:6fbe8a57549d | 8002:8391fdd36e1f |
---|---|
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 |