RFR: JDK-8141037: Remove _MARKING_VERBOSE_ from the G1 code

Bengt Rutisson bengt.rutisson at oracle.com
Fri Oct 30 09:38:42 UTC 2015


A small comment on this.

The use of G1MarkingVerboseLevel in ConcurrentMark::print_stats() will 
be removed with the Unified logging changes that are in progress.

Bengt

On 2015-10-30 10:35, Bengt Rutisson wrote:
>
> Hi everyone,
>
> This is a fix, which is very similar to "JDK-8140781: Remove 
> _MARKING_STATS_ from the G1 code".
>
> http://cr.openjdk.java.net/~brutisso/8141037/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8141037
>
> The _MARKING_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.
>
> The change also removes the dead code print_finger().
>
> Thanks,
> Bengt




More information about the hotspot-gc-dev mailing list