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

Takuya Kiriyama duke at openjdk.java.net
Fri Nov 26 11:54:25 UTC 2021


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.

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

Commit messages:
 - 8277866: gc/epsilon/TestMemoryMXBeans.java failed with wrong initial heap size

Changes: https://git.openjdk.java.net/jdk/pull/6574/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6574&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277866
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6574.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6574/head:pull/6574

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



More information about the hotspot-gc-dev mailing list