equal
deleted
inserted
replaced
30 #include "oops/oop.inline.hpp" |
30 #include "oops/oop.inline.hpp" |
31 #include "oops/verifyOopClosure.hpp" |
31 #include "oops/verifyOopClosure.hpp" |
32 #include "runtime/handles.inline.hpp" |
32 #include "runtime/handles.inline.hpp" |
33 #include "runtime/thread.inline.hpp" |
33 #include "runtime/thread.inline.hpp" |
34 #include "utilities/copy.hpp" |
34 #include "utilities/copy.hpp" |
35 #if INCLUDE_G1GC |
|
36 #include "gc/g1/g1Allocator.inline.hpp" |
|
37 #endif |
|
38 |
35 |
39 bool always_do_update_barrier = false; |
36 bool always_do_update_barrier = false; |
40 |
37 |
41 void oopDesc::print_on(outputStream* st) const { |
38 void oopDesc::print_on(outputStream* st) const { |
42 if (this == NULL) { |
39 if (this == NULL) { |
212 jfloat oopDesc::float_field_acquire(int offset) const { return HeapAccess<MO_ACQUIRE>::load_at(as_oop(), offset); } |
209 jfloat oopDesc::float_field_acquire(int offset) const { return HeapAccess<MO_ACQUIRE>::load_at(as_oop(), offset); } |
213 void oopDesc::release_float_field_put(int offset, jfloat value) { HeapAccess<MO_RELEASE>::store_at(as_oop(), offset, value); } |
210 void oopDesc::release_float_field_put(int offset, jfloat value) { HeapAccess<MO_RELEASE>::store_at(as_oop(), offset, value); } |
214 |
211 |
215 jdouble oopDesc::double_field_acquire(int offset) const { return HeapAccess<MO_ACQUIRE>::load_at(as_oop(), offset); } |
212 jdouble oopDesc::double_field_acquire(int offset) const { return HeapAccess<MO_ACQUIRE>::load_at(as_oop(), offset); } |
216 void oopDesc::release_double_field_put(int offset, jdouble value) { HeapAccess<MO_RELEASE>::store_at(as_oop(), offset, value); } |
213 void oopDesc::release_double_field_put(int offset, jdouble value) { HeapAccess<MO_RELEASE>::store_at(as_oop(), offset, value); } |
217 |
|
218 #if INCLUDE_CDS_JAVA_HEAP |
|
219 bool oopDesc::is_archive_object(oop p) { |
|
220 return (p == NULL) ? false : G1ArchiveAllocator::is_archive_object(p); |
|
221 } |
|
222 #endif |
|