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

changeset 4037
da91efe96a93
parent 3665
8a729074feae
child 4128
f81a7c0c618d
     1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -212,13 +212,13 @@
     1.4      new_obj = o->forwardee();
     1.5    }
     1.6  
     1.7 -#ifdef DEBUG
     1.8 +#ifndef PRODUCT
     1.9    // This code must come after the CAS test, or it will print incorrect
    1.10    // information.
    1.11    if (TraceScavenge) {
    1.12 -    gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (" SIZE_FORMAT ")}",
    1.13 +    gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
    1.14         PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring",
    1.15 -       new_obj->blueprint()->internal_name(), o, new_obj, new_obj->size());
    1.16 +       new_obj->klass()->internal_name(), o, new_obj, new_obj->size());
    1.17    }
    1.18  #endif
    1.19  

mercurial