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

Deprecate -XX:CompilationPolicyChoice

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      CompilationPolicyChoice is an old flag that can be used to pick between two different policies for C2: the current default (0 / SimpleCompPolicy) and a legacy variant (1 / StackWalkCompPolicy).

      StackWalkCompPolicy was the default until it was concluded it added startup/warmup overhead without any real peak performance benefits over the SimpleCompPolicy (JDK-6191063). The flag has not seen widespread use and is not explicitly tested.

      Deprecate, obsolete and remove. This deprecation will be accompanied by a CSR.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: