--- a/hotspot/src/share/vm/gc/cms/parNewGeneration.cpp Wed Nov 11 23:47:41 2015 +0000
+++ b/hotspot/src/share/vm/gc/cms/parNewGeneration.cpp Fri Nov 13 13:31:48 2015 +0100
@@ -1148,7 +1148,6 @@
}
assert(new_obj != NULL, "just checking");
-#ifndef PRODUCT
// This code must come after the CAS test, or it will print incorrect
// information.
if (TraceScavenge) {
@@ -1156,7 +1155,6 @@
is_in_reserved(new_obj) ? "copying" : "tenuring",
new_obj->klass()->internal_name(), p2i(old), p2i(new_obj), new_obj->size());
}
-#endif
if (forward_ptr == NULL) {
oop obj_to_push = new_obj;