RFR: 8285710: Miscalculation of G1CardSetAllocator unused memory size [v3]

tqxia duke at openjdk.java.net
Sat May 7 07:36:50 UTC 2022


On Sat, 7 May 2022 02:41:27 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Is it possible to add a jtreg test for this issue?

Hi @DamonFool, the problem is I am not sure what to assert in a jtreg test for this scenario, there seems to be no clear way to tell if a given value is correct or not. (The result produced by the 2 formulas can be close.)

But I am definitely happy to add the test case if some further suggestions can be provided.

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

PR: https://git.openjdk.java.net/jdk/pull/8424



More information about the hotspot-gc-dev mailing list