RFR: JDK-8141045: Remove SPARSE_PRT_VERBOSE from the G1 code

Bengt Rutisson bengt.rutisson at oracle.com
Mon Nov 2 11:58:32 UTC 2015


Thanks, Kim!

Bengt

On 2015-10-30 20:09, Kim Barrett wrote:
> Looks good.
>
> ----- Original Message -----
> From: bengt.rutisson at oracle.com
> To: hotspot-gc-dev at openjdk.java.net
> Sent: Friday, October 30, 2015 8:07:30 AM GMT -05:00 US/Canada Eastern
> Subject: RFR: JDK-8141045: Remove SPARSE_PRT_VERBOSE from the G1 code
>
>
> Hi everyone,
>
> Another define that guards debugging code.
>
> http://cr.openjdk.java.net/~brutisso/8141045/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8141045
>
> The SPARSE_PRT_VERBOSE define is used in the code to log 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