RFR: 8277866: gc/epsilon/TestMemoryMXBeans.java failed with wrong initial heap size

Andrey Turbanov duke at openjdk.java.net
Wed Dec 1 18:58:28 UTC 2021


On Fri, 26 Nov 2021 11:47:54 GMT, KIRIYAMA Takuya <duke at openjdk.java.net> wrote:

> I would like to fix the bug reported in JDK-8277866.  
> There is a typo in test/hotspot/jtreg/gc/epsilon/TestMemoryMXBeans.java as suggested in the issue.  
> The second test case is expected to run with -Xms in addition to -Xmx option. However, -Xmx option appears twice in the test.  
> This typo causes a failure of the test, and after fixing this typo, the test successfully passed.  
> Although ProblemList contains TestMemoryMXBeans.java, this typo should be fixed.

BTW, I found couple more tests which set Xmx twice:
1. `TestGCLockerWithSerial`
2. `LoadUnloadModuleStress`

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

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



More information about the hotspot-gc-dev mailing list