RFR: 8255562: delete UseRDPCForConstantTableBase [v3]

Xin Liu xliu at openjdk.java.net
Thu Nov 5 06:03:56 UTC 2020


On Fri, 30 Oct 2020 08:47:12 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Xin Liu has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
>> 
>>  - 8255562: delete UseRDPCForConstantTableBase
>>    
>>    mark UseRDPCForConstantTableBase is obsoletd in jdk16 and will expire in jdk17.
>>  - 8255562: delete UseRDPCForConstantTableBase
>
> Changes requested by thartmann (Reviewer).

I made the hotspot cmdline flag `UseRDPCForConstantTableBase` obsolete in jdk(16) and will expire in jdk(17) based on the document [here](https://wiki.openjdk.java.net/display/HotSpot/Hotspot+Command-line+Flags%3A+Kinds%2C+Lifecycle+and+the+CSR+Process)

The reason I modified `Arguments::handle_aliases_and_deprecation` is that hotspot didn't emit any warning message if we only mark it obsoleted but never define deprecated version.  After I modify it,  it emits a warning message to alarm user that the flag has been obsoleted.

./bin/java -XX:+UseRDPCForConstantTableBase --version
OpenJDK 64-Bit Server VM warning: Temporarily processing option UseRDPCForConstantTableBase; support is scheduled for removal in 16.0
openjdk 16-internal 2021-03-16
OpenJDK Runtime Environment (build 16-internal+0-adhoc.ubuntu.jdk)
OpenJDK 64-Bit Server VM (build 16-internal+0-adhoc.ubuntu.jdk, mixed mode)

-------------

PR: https://git.openjdk.java.net/jdk/pull/949


More information about the hotspot-dev mailing list