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

Guoxiong Li gli at openjdk.org
Mon Mar 25 14:41:24 UTC 2024


On Wed, 20 Mar 2024 17:02:06 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>>> Hopefully, with the example above, you agree this is a problem?
>> 
>> Thank you for the examples, and the explanation, Guoxiong and Albert. I agree that it would seem useful to fix the inconsistency. I'll take a look at the proposed changes in light of this. Sorry for the delay.
>
>> I agree that it would seem useful to fix the inconsistency.
> 
> Terrific.
> 
> Regarding how to address the issue, after considering it further, I believe the threshold is not intrinsically linked to the age table. Therefore, it likely makes sense to exclude it from the age-table `print_age_table`. Specific collectors could choose to include the threshold in the log if they find it valuable. Then, this removes the ambiguity in the `print_age_table` output. What do others think?

@albertnetymk Thanks for the review. I updated one test.

And waiting for another review.

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

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


More information about the hotspot-gc-dev mailing list