RFR: 8328278: Do not print the tenuring threshold in AgeTable::print_on [v3]

Guoxiong Li gli at openjdk.org
Tue Apr 2 10:23:18 UTC 2024


On Tue, 26 Mar 2024 09:11:03 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> It looks as if you are now suppressing the tenuring threshold printing entirely? In a sense that is a crucial part of what one looks at in GC logs. May be I am missing something.
>> 
>> Could you share for both G1 and for Serial, the before and after logs with `+PrintTenuringDistribution` ?
>
>> It looks as if you are now suppressing the tenuring threshold printing entirely? In a sense that is a crucial part of what one looks at in GC logs. May be I am missing something.
> 
> When computing the threshold, the threshold will be printed. Please read the method `AgeTable::compute_tenuring_threshold`.
> 
>> Could you share for both G1 and for Serial, the before and after logs with `+PrintTenuringDistribution` ?
> 
> Currently, the option `-XX:+PrintTenuringDistribution` is not available in mainline, we can use `-Xlog:gc+age*=trace` instead.

> @lgxbslgx Could you merge master?

Merged just now.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18329#issuecomment-2031618176


More information about the hotspot-gc-dev mailing list