hotspot/src/share/vm/oops/instanceRefKlass.cpp
changeset 4493 9204129f065e
parent 3795 6227ff014cfe
child 4573 6358f8c9ed3b
equal deleted inserted replaced
4492:63c49e60fc25 4493:9204129f065e
    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);