# HG changeset patch # User iklam # Date 1510160604 28800 # Node ID d76a6042f5d766aa96440434ba85826882680071 # Parent 083c15bfba35c0f74d095046caaede939a46ffc5 8186778: Make obsolete VM options for shared region size control Summary: Obsoleted SharedReadOnlySize, SharedMiscCodeSize, SharedMiscDataSize and SharedReadWriteSize Reviewed-by: dholmes diff -r 083c15bfba35 -r d76a6042f5d7 src/hotspot/share/runtime/arguments.cpp --- a/src/hotspot/share/runtime/arguments.cpp Wed Nov 08 12:08:23 2017 -0800 +++ b/src/hotspot/share/runtime/arguments.cpp Wed Nov 08 09:03:24 2017 -0800 @@ -396,6 +396,10 @@ { "MinSleepInterval", JDK_Version::jdk(9), JDK_Version::jdk(10), JDK_Version::jdk(11) }, { "PermSize", JDK_Version::undefined(), JDK_Version::jdk(8), JDK_Version::undefined() }, { "MaxPermSize", JDK_Version::undefined(), JDK_Version::jdk(8), JDK_Version::undefined() }, + { "SharedReadWriteSize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() }, + { "SharedReadOnlySize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() }, + { "SharedMiscDataSize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() }, + { "SharedMiscCodeSize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() }, #ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS { "dep > obs", JDK_Version::jdk(9), JDK_Version::jdk(8), JDK_Version::undefined() }, diff -r 083c15bfba35 -r d76a6042f5d7 src/hotspot/share/runtime/globals.hpp --- a/src/hotspot/share/runtime/globals.hpp Wed Nov 08 12:08:23 2017 -0800 +++ b/src/hotspot/share/runtime/globals.hpp Wed Nov 08 09:03:24 2017 -0800 @@ -3901,18 +3901,6 @@ "If PrintSharedArchiveAndExit is true, also print the shared " \ "dictionary") \ \ - product(size_t, SharedReadWriteSize, 0, \ - "Deprecated") \ - \ - product(size_t, SharedReadOnlySize, 0, \ - "Deprecated") \ - \ - product(size_t, SharedMiscDataSize, 0, \ - "Deprecated") \ - \ - product(size_t, SharedMiscCodeSize, 0, \ - "Deprecated") \ - \ product(size_t, SharedBaseAddress, LP64_ONLY(32*G) \ NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \ "Address to allocate shared memory region for class data") \