RFR (S) 8242424: Deprecate InitialBootClassLoaderMetaspaceSize
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Mon May 18 12:51:52 UTC 2020
On 5/18/20 8:46 AM, coleen.phillimore at oracle.com wrote:
>
> Hi, Dan and Thomas, thank you for looking at the patch.
>
> I ran tier1-3 which runs these tests with no failures. I think we
> should continue testing with these options and examine the tests for
> rewriting or removal once we deprecate the options. Thank you for
> pointing this out though. I'll add this to the RFE (to be filed) for
> making these options obsolete.
Sorry I meant "obsolete these options" above.
Coleen
>
> Thanks,
> Coleen
>
> On 5/17/20 3:25 AM, Thomas Stüfe wrote:
>> Hi,
>>
>> I ran the following tests:
>>
>> hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java
>> hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java
>> hotspot/jtreg/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
>>
>> hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
>> hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java
>> hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
>> hotspot/jtreg/gc/TestSystemGC.java
>>
>> and all of hotspot/jtreg/vmTestbase/metaspace/...
>>
>> successfully with Coleens patch.
>>
>> Cheers, Thomas
>>
>>
>>
>> On Sat, May 16, 2020 at 3:27 PM Daniel D. Daugherty
>> <daniel.daugherty at oracle.com <mailto:daniel.daugherty at oracle.com>>
>> wrote:
>>
>> On 5/15/20 6:55 PM, coleen.phillimore at oracle.com
>> <mailto:coleen.phillimore at oracle.com> wrote:
>> > Also:
>> > 8243147: Deprecate UseLargePagesInMetaspace
>> >
>> > Summary: mark these options for deprecation
>> >
>> > Tested with tier1-3.
>> >
>> > open webrev at
>> http://cr.openjdk.java.net/~coleenp/2020/8242424.01/webrev
>>
>> src/hotspot/share/runtime/arguments.cpp
>> No comments.
>>
>> src/hotspot/share/runtime/globals.hpp
>> No comments.
>>
>> test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
>> No comments.
>>
>> Thumbs up on this part, but I see these options mentioned in tests:
>>
>> $ egrep -r
>> 'UseLargePagesInMetaspace|InitialBootClassLoaderMetaspaceSize'
>> open/test
>> closed/test
>> open/test/hotspot/jtreg/vmTestbase/metaspace/gc/MetaspaceBaseGC.java:
>> useLargepages = PAGE_SIZE > 1_000_000 &&
>> !vmArgs.contains("-XX:-UseLargePagesInMetaspace");
>> open/test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java:
>>
>> excludeTestMaxRange("InitialBootClassLoaderMetaspaceSize");
>> open/test/hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java:
>> processArgs.add("-XX:InitialBootClassLoaderMetaspaceSize=1m");
>> open/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java:
>>
>> "-XX:+UseLargePages", "-XX:+UseLargePagesInMetaspace");
>> open/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java:
>>
>> "-XX:+UseLargePages", "-XX:+UseLargePagesInMetaspace");
>> open/test/hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java:
>> "-XX:InitialBootClassLoaderMetaspaceSize=4195328",
>> open/test/hotspot/jtreg/gc/TestSystemGC.java: * @run main/othervm
>> -XX:+UseLargePages -XX:+UseLargePagesInMetaspace gc.TestSystemGC
>>
>> Do you know of the deprecated message will affect how these tests
>> run?
>>
>> Dan
>>
>>
>>
>> > bug link https://bugs.openjdk.java.net/browse/JDK-8242424
>> > bug link https://bugs.openjdk.java.net/browse/JDK-8243147
>> >
>> > Thanks,
>> > Coleen
>>
>
More information about the hotspot-dev
mailing list