hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
changeset 20282 7f9cbdf89af2
parent 19285 0a3b3f115402
child 22838 82c7497fbad4
equal deleted inserted replaced
20281:e4d33bd980c4 20282:7f9cbdf89af2
   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 }