src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp

changeset 5784
190899198332
parent 5515
9766f73e770d
child 6472
2b8e28fdf503
equal deleted inserted replaced
5783:c1fbf21c7397 5784:190899198332
223 // This code must come after the CAS test, or it will print incorrect 223 // This code must come after the CAS test, or it will print incorrect
224 // information. 224 // information.
225 if (TraceScavenge) { 225 if (TraceScavenge) {
226 gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}", 226 gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
227 PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring", 227 PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring",
228 new_obj->klass()->internal_name(), o, new_obj, new_obj->size()); 228 new_obj->klass()->internal_name(), (void *)o, (void *)new_obj, new_obj->size());
229 } 229 }
230 #endif 230 #endif
231 231
232 return new_obj; 232 return new_obj;
233 } 233 }

mercurial