RFR: 8328278: Serial: Compute tenuring threshold before GC
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Mar 19 01:18:20 UTC 2024
On Fri, 15 Mar 2024 15:59:58 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> This patch places the SerialGC code that computes tenuring threshold before per GC instead of after per GC, so that the method `AgeTable::print_on` prints the right tenuring threshold. Just like the current G1 implementation.
>
> Thanks for taking the time to review.
>
> Best Regards,
> -- Guoxiong
In https://bugs.openjdk.org/browse/JDK-8328278, you state:
> But the Serial GC computes tenuring threshold and prints new age table both after per GC. It causes the method `AgeTable::print_on` prints the wrong tenuring threshold.
Can you provide examples on how it "prints the wrong tenuring threshold" to illustrate the bug you had in mind that this is attempting to fix?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18329#issuecomment-2005554565
More information about the hotspot-gc-dev
mailing list