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

Deprecate -XX:CompilationPolicyChoice

XMLWordPrintable

    • b09

      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.

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

              Created:
              Updated:
              Resolved: