8156964: gc/logging/TestUnifiedLoggingSwitchStress.java hits assert
Summary: Old debug code needs to be removed.
Reviewed-by: stefank, jwilhelm
--- a/hotspot/src/share/vm/gc/parallel/psScavenge.inline.hpp Thu May 12 16:46:13 2016 +0000
+++ b/hotspot/src/share/vm/gc/parallel/psScavenge.inline.hpp Fri May 13 15:57:17 2016 -0400
@@ -140,12 +140,6 @@
// If the klass has not been dirtied we know that there's
// no references into the young gen and we can skip it.
- NOT_PRODUCT(ResourceMark rm);
- log_develop_trace(gc, scavenge)("PSScavengeKlassClosure::do_klass " PTR_FORMAT ", %s, dirty: %s",
- p2i(klass),
- klass->external_name(),
- klass->has_modified_oops() ? "true" : "false");
-
if (klass->has_modified_oops()) {
// Clean the klass since we're going to scavenge all the metadata.
klass->clear_modified_oops();