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

Java 9-fastdebug crash(hit assertion) with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u45, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b73

      Backports

        Description

        Java fastdebug build hit assertion when executed with following options on Linux-x64 platform:
        java -XX:CompilationPolicyChoice=1 -XX:-TieredCompilation

        Here are output for Java 9 b61 fastdebug build(hs_err_pid22474.log is attached):
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/handles.inline.hpp:115
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/HUDSON/workspace/9-2-build-linux-amd64/jdk9/2568/hotspot/src/share/vm/runtime/handles.inline.hpp:115), pid=22560, tid=140541869872896
        # assert(_thread->is_in_stack((address)this)) failed: not on stack?
        #
        ...

        Also, 32 bit platform build(Linux-i586) product build catch internal error("Error: Unimplemented()") when ran in client mode and with "-XX:CompilationPolicyChoice=1":
        java -client -XX:CompilationPolicyChoice=1

        Here are output for Java 9 b61 product build for Linux-i586 platform:
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (compilationPolicy.cpp:66), pid=22658, tid=4137761600
        # Error: Unimplemented()
        #
        # JRE version: (9.0-b61) (build )
        # Java VM: Java HotSpot(TM) Client VM (1.9.0-ea-b61 mixed mode, sharing linux-x86 )
        ...

        Java 8u45 are also affected(hs_err_pid22418.log is attached)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iveresov Igor Veresov
                  Reporter:
                  ddmitriev Dmitry Dmitriev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: