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

[PPC64] Use flag kind "diagnostic" for platform specific flags

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 16
    • hotspot
    • behavioral
    • minimal
    • -XX:+UnlockDiagnosticVMOptions need to be specified in addition when using them.
    • add/remove/modify command line option

      Summary

      Current platform implementation in globals_ppc.hpp uses regular product flags for almost everything.

      Problem

      Most of these platform specific flags were never intended for official support. They are only there to diagnose issues and find workarounds.

      Solution

      Change flag kind to "diagnostic".

      Specification

      Change these flags from regular product to diagnostic:

      PowerArchitecturePPC64

      ReoptimizeCallSequences

      UseLoadInstructionsForStackBangingPPC64

      UseStaticBranchPredictionInCompareAndSwapPPC64

      UseStaticBranchPredictionForUncommonPathsPPC64

      UseByteReverseInstructions

      UseVectorByteReverseInstructionsPPC64

      UseCountLeadingZerosInstructionsPPC64

      UseCountTrailingZerosInstructionsPPC64

      UseExtendedLoadAndReserveInstructionsPPC64

      UseRotateAndMaskInstructionsPPC64

      TrapBasedICMissChecks

      TraceTraps

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            David Holmes, Lucy Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: