equal
deleted
inserted
replaced
76 } |
76 } |
77 } |
77 } |
78 |
78 |
79 #ifndef SERIALGC |
79 #ifndef SERIALGC |
80 template <class T> |
80 template <class T> |
81 static void specialized_oop_follow_contents(instanceRefKlass* ref, |
81 void specialized_oop_follow_contents(instanceRefKlass* ref, |
82 ParCompactionManager* cm, |
82 ParCompactionManager* cm, |
83 oop obj) { |
83 oop obj) { |
84 T* referent_addr = (T*)java_lang_ref_Reference::referent_addr(obj); |
84 T* referent_addr = (T*)java_lang_ref_Reference::referent_addr(obj); |
85 T heap_oop = oopDesc::load_heap_oop(referent_addr); |
85 T heap_oop = oopDesc::load_heap_oop(referent_addr); |
86 debug_only( |
86 debug_only( |
87 if(TraceReferenceGC && PrintGCDetails) { |
87 if(TraceReferenceGC && PrintGCDetails) { |
88 gclog_or_tty->print_cr("instanceRefKlass::oop_follow_contents " INTPTR_FORMAT, obj); |
88 gclog_or_tty->print_cr("instanceRefKlass::oop_follow_contents " INTPTR_FORMAT, obj); |