RFR: JDK-8292064 Convert java/lang/management/MemoryMXBean shell tests to java version [v2]
Bill Huang
duke at openjdk.org
Wed Aug 10 21:24:35 UTC 2022
On Wed, 10 Aug 2022 21:09:42 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Bill Huang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Removed GC settings.
>
> test/jdk/java/lang/management/MemoryMXBean/MemoryManagement.java line 35:
>
>> 33: * @modules jdk.management
>> 34: * @build MemoryManagement MemoryUtil
>> 35: * @run main/othervm/timeout=600 -Xmn8m -XX:+IgnoreUnrecognizedVMOptions
>
> Do we want to run this configuration without G1? Might be separate runs and add requires?
It doesn't fail with other GC modes, but I agree that it is misleading. We can make it a separate test and add @requires.
-------------
PR: https://git.openjdk.org/jdk/pull/9813
More information about the core-libs-dev
mailing list