--- a/hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp Fri Oct 16 10:20:59 2015 +0200
+++ b/hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp Fri Oct 16 14:55:09 2015 -0400
@@ -43,7 +43,7 @@
T* referent_addr = (T*)java_lang_ref_Reference::referent_addr(obj);
T heap_oop = oopDesc::load_heap_oop(referent_addr);
- ReferenceProcessor* rp = closure->_ref_processor;
+ ReferenceProcessor* rp = closure->ref_processor();
if (!oopDesc::is_null(heap_oop)) {
oop referent = oopDesc::decode_heap_oop_not_null(heap_oop);
if (!referent->is_gc_marked() && (rp != NULL) &&