hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
changeset 22838 82c7497fbad4
parent 22828 17ecb098bc1e
parent 20282 7f9cbdf89af2
child 24424 2658d7834c6e
equal deleted inserted replaced
22837:feba5d4126b8 22838:82c7497fbad4
   224   // This code must come after the CAS test, or it will print incorrect
   224   // This code must come after the CAS test, or it will print incorrect
   225   // information.
   225   // information.
   226   if (TraceScavenge) {
   226   if (TraceScavenge) {
   227     gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
   227     gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
   228        PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring",
   228        PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring",
   229        new_obj->klass()->internal_name(), o, new_obj, new_obj->size());
   229        new_obj->klass()->internal_name(), (void *)o, (void *)new_obj, new_obj->size());
   230   }
   230   }
   231 #endif
   231 #endif
   232 
   232 
   233   return new_obj;
   233   return new_obj;
   234 }
   234 }