hotspot/src/share/vm/gc/parallel/psScavenge.inline.hpp
changeset 38302 1c18282d702d
parent 37248 11a660dbbb8e
equal deleted inserted replaced
38301:844716ef1b98 38302:1c18282d702d
   138   PSScavengeKlassClosure(PSPromotionManager* pm) : _oop_closure(pm) { }
   138   PSScavengeKlassClosure(PSPromotionManager* pm) : _oop_closure(pm) { }
   139   void do_klass(Klass* klass) {
   139   void do_klass(Klass* klass) {
   140     // If the klass has not been dirtied we know that there's
   140     // If the klass has not been dirtied we know that there's
   141     // no references into  the young gen and we can skip it.
   141     // no references into  the young gen and we can skip it.
   142 
   142 
   143     NOT_PRODUCT(ResourceMark rm);
       
   144     log_develop_trace(gc, scavenge)("PSScavengeKlassClosure::do_klass " PTR_FORMAT ", %s, dirty: %s",
       
   145                                     p2i(klass),
       
   146                                     klass->external_name(),
       
   147                                     klass->has_modified_oops() ? "true" : "false");
       
   148 
       
   149     if (klass->has_modified_oops()) {
   143     if (klass->has_modified_oops()) {
   150       // Clean the klass since we're going to scavenge all the metadata.
   144       // Clean the klass since we're going to scavenge all the metadata.
   151       klass->clear_modified_oops();
   145       klass->clear_modified_oops();
   152 
   146 
   153       // Setup the promotion manager to redirty this klass
   147       // Setup the promotion manager to redirty this klass