< prev index next >

src/share/vm/gc/parallel/psScavenge.inline.hpp

Print this page

        

*** 27,36 **** --- 27,37 ---- #include "gc/parallel/cardTableExtension.hpp" #include "gc/parallel/parallelScavengeHeap.hpp" #include "gc/parallel/psPromotionManager.inline.hpp" #include "gc/parallel/psScavenge.hpp" + #include "logging/log.hpp" #include "memory/iterator.hpp" #include "utilities/globalDefinitions.hpp" inline void PSScavenge::save_to_space_top_before_gc() { ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();
*** 137,153 **** void do_klass(Klass* klass) { // If the klass has not been dirtied we know that there's // no references into the young gen and we can skip it. #ifndef PRODUCT - if (TraceScavenge) { ResourceMark rm; ! gclog_or_tty->print_cr("PSScavengeKlassClosure::do_klass " PTR_FORMAT ", %s, dirty: %s", p2i(klass), klass->external_name(), klass->has_modified_oops() ? "true" : "false"); - } #endif if (klass->has_modified_oops()) { // Clean the klass since we're going to scavenge all the metadata. klass->clear_modified_oops(); --- 138,152 ---- void do_klass(Klass* klass) { // If the klass has not been dirtied we know that there's // no references into the young gen and we can skip it. #ifndef PRODUCT ResourceMark rm; ! log_develop(gc, scavenge)("PSScavengeKlassClosure::do_klass " PTR_FORMAT ", %s, dirty: %s", p2i(klass), klass->external_name(), klass->has_modified_oops() ? "true" : "false"); #endif if (klass->has_modified_oops()) { // Clean the klass since we're going to scavenge all the metadata. klass->clear_modified_oops();
< prev index next >