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

PPC64: Add support to -XX:RTMSpinLoopCount=0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b156
    • ppc
    • linux

        Currently PPC64 JVM behaves different in comparison to x64 regarding the RTMSpinLoopCount value and does not accept a zero value. As an immediate consequence passing -XX:RTMSpinLoopCount=0 cause JVM to exit by report_and_die():

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (vm_version_ppc.cpp:331), pid=32738, tid=32739
        # guarantee(RTMSpinLoopCount > 0) failed: unsupported
        #
        # JRE version: (9.0) (build )
        # Java VM: OpenJDK 64-Bit Server VM (9-internal+0-adhoc.gromero.hs, compiled mode, compressed oops, g1 gc, linux-ppc64le)
        # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

              gromero Gustavo Romero
              gromero Gustavo Romero
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: