JDK-8255676 : Obsolete -XX:+UseRDPCForConstantTableBase flag
  • Type: CSR
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 16
  • Submitted: 2020-10-30
  • Updated: 2020-11-07
  • Resolved: 2020-11-07
Related Reports
CSR :  
Description
Summary
-------
Obsolete the option -XX:+UseRDPCForConstantTableBase which optimizes code generation exclusively for SPARC. 

Problem
-------
This was a C2 internal optimization that was used for the SPARC CPUs, which support to load base of Constant table. Because the entire backend of Sparc has been removed, it is no longer in use now. Leaving it as a JVMOption may expose risk of stability. 

Solution
--------

The -XX:+UseRDPCForConstantTableBase option will be turned off by default and will issue an Obsolete message if used.

Specification
-------------
Remove

  product(bool, UseRDPCForConstantTableBase, false,       
          "Use Sparc RDPC instruction for the constant table base.") 

and make it obsolete in JDK 16 and expired in JDK 17.



Comments
Moving to Approved.
07-11-2020

This looks good to me. See PR at [https://github.com/openjdk/jdk/pull/949][1] [1]: https://github.com/openjdk/jdk/pull/949
05-11-2020