RFR: 8236225: Remove expired flags in JDK 17
David Holmes
dholmes at openjdk.java.net
Tue Dec 15 00:03:58 UTC 2020
On Mon, 14 Dec 2020 23:23:46 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> 8236225: Remove expired flags in JDK 17
>> 8256717: Expire the long term obsoleted VM flags
>>
>> The newly expired flags in 17 are removed from the flag table, as are all of the long term obsolete flags that had no explicit expiration release.
>>
>> Updated any remaining references to the obsolete flags that are now expired.
>>
>> Updated the man page to move flags from obsolete section to expired (removed) section. Note the manpage also shows changes to the illegal-access flag, this is a change that was made to the closed manpage source for JDK 16 but has not yet been pushed into the open java.1 version. This part of the change can be ignored.
>>
>> Testing: tiers 1-3 and local testing of modified tests. I'm also checking for any JCK tests that may still use the legacy obsolete flags.
>>
>> Thanks,
>> David
>
> src/hotspot/share/runtime/arguments.cpp line 540:
>
>> 538: // -------------- Obsolete Flags - sorted by expired_in --------------
>> 539:
>> 540: #ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
>
> No objecting, but it doesn't look like we told them when it would become unrecognized.
We don't report that value in the warning we only report the release in which it became obsolete. e.g.:
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
So to all intents and purposes you can read all these undefined() entries as if they said jdk(17).
Thanks for the review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1773
More information about the hotspot-runtime-dev
mailing list