RFR: JDK-8140781: Remove _MARKING_STATS_ from the G1 code

Kim Barrett kim.barrett at oracle.com
Thu Oct 29 17:27:28 UTC 2015


Looks good.

----- Original Message -----
From: bengt.rutisson at oracle.com
To: hotspot-gc-dev at openjdk.java.net
Sent: Thursday, October 29, 2015 1:02:17 PM GMT -05:00 US/Canada Eastern
Subject: RFR: JDK-8140781: Remove _MARKING_STATS_ from the G1 code


Hi everyone,

Could I have a couple of reviews for this patch to remove some dead code?

http://cr.openjdk.java.net/~brutisso/8140781/webrev.00
https://bugs.openjdk.java.net/browse/JDK-8140781

The _MARKING_STATS_ define is used in the code to collect more detailed 
information about the marking cycle. Since this is a define that 
requires re-compilation to have any effect the code is not used by 
normal builds.

Thus, this is to be considered debug code. As such it should be removed 
from the normal code base and included back if it is needed for a debug 
session.

Thanks,
Bengt



More information about the hotspot-gc-dev mailing list