Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceRefKlass.cpp @ 1123:167c2986d91b
6843629: Make current hotspot build part of jdk5 control build
Summary: Source changes for older compilers plus makefile changes.
Reviewed-by: xlu
author | phh |
---|---|
date | Wed, 16 Dec 2009 12:54:49 -0500 |
parents | 89e0543e1737 |
children | 9b9c1ee9b3f6 |
comparison
equal
deleted
inserted
replaced
1122:dcb15a6f342d | 1123:167c2986d91b |
---|---|
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); |