JDK-8245215 : Obsolete InitialBootClassLoaderMetaspaceSize and UseLargePagesInMetaspace
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-18
  • Updated: 2020-11-19
  • Resolved: 2020-11-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b25Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
These options are used in these tests, so the tests need to be examined as well:
$ 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

Comments
Changeset: 56ea7864 Author: Harold Seigel <hseigel@openjdk.org> Date: 2020-11-13 13:13:43 +0000 URL: https://github.com/openjdk/jdk/commit/56ea7864
13-11-2020