< prev index next >

src/share/vm/oops/oop.cpp

Print this page
rev 13365 : [mq]: review_update_1

*** 29,38 **** --- 29,41 ---- #include "oops/oop.inline.hpp" #include "oops/verifyOopClosure.hpp" #include "runtime/handles.inline.hpp" #include "runtime/thread.inline.hpp" #include "utilities/copy.hpp" + #if INCLUDE_ALL_GCS + #include "gc/g1/g1Allocator.inline.hpp" + #endif bool always_do_update_barrier = false; BarrierSet* oopDesc::_bs = NULL;
*** 136,140 **** --- 139,149 ---- bool oopDesc::has_klass_gap() { // Only has a klass gap when compressed class pointers are used. return UseCompressedClassPointers; } + + #if INCLUDE_CDS_JAVA_HEAP + bool oopDesc::is_archive_object(oop p) { + return (p == NULL) ? false : G1ArchiveAllocator::is_archive_object(p); + } + #endif
< prev index next >