Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255676

Obsolete -XX:+UseRDPCForConstantTableBase flag

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 16
    • hotspot
    • None
    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

      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.

            xliu Xin Liu
            xliu Xin Liu
            Paul Hohensee, Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: