Mercurial > hg > graal-compiler
comparison src/share/vm/oops/oop.inline.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 |
---|---|
38 #include "oops/klass.hpp" | 38 #include "oops/klass.hpp" |
39 #include "oops/markOop.inline.hpp" | 39 #include "oops/markOop.inline.hpp" |
40 #include "oops/oop.hpp" | 40 #include "oops/oop.hpp" |
41 #include "runtime/atomic.hpp" | 41 #include "runtime/atomic.hpp" |
42 #include "runtime/os.hpp" | 42 #include "runtime/os.hpp" |
43 #include "utilities/macros.hpp" | |
43 #ifdef TARGET_ARCH_x86 | 44 #ifdef TARGET_ARCH_x86 |
44 # include "bytes_x86.hpp" | 45 # include "bytes_x86.hpp" |
45 #endif | 46 #endif |
46 #ifdef TARGET_ARCH_sparc | 47 #ifdef TARGET_ARCH_sparc |
47 # include "bytes_sparc.hpp" | 48 # include "bytes_sparc.hpp" |
758 } | 759 } |
759 | 760 |
760 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_DEFN) | 761 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_DEFN) |
761 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_DEFN) | 762 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_DEFN) |
762 | 763 |
763 #ifndef SERIALGC | 764 #if INCLUDE_ALL_GCS |
764 #define OOP_ITERATE_BACKWARDS_DEFN(OopClosureType, nv_suffix) \ | 765 #define OOP_ITERATE_BACKWARDS_DEFN(OopClosureType, nv_suffix) \ |
765 \ | 766 \ |
766 inline int oopDesc::oop_iterate_backwards(OopClosureType* blk) { \ | 767 inline int oopDesc::oop_iterate_backwards(OopClosureType* blk) { \ |
767 SpecializationStats::record_call(); \ | 768 SpecializationStats::record_call(); \ |
768 return klass()->oop_oop_iterate_backwards##nv_suffix(this, blk); \ | 769 return klass()->oop_oop_iterate_backwards##nv_suffix(this, blk); \ |
769 } | 770 } |
770 | 771 |
771 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_BACKWARDS_DEFN) | 772 ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_ITERATE_BACKWARDS_DEFN) |
772 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_BACKWARDS_DEFN) | 773 ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_ITERATE_BACKWARDS_DEFN) |
773 #endif // !SERIALGC | 774 #endif // INCLUDE_ALL_GCS |
774 | 775 |
775 #endif // SHARE_VM_OOPS_OOP_INLINE_HPP | 776 #endif // SHARE_VM_OOPS_OOP_INLINE_HPP |