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

Crash in C2 compiled code during execution of double array heavy processing code

XMLWordPrintable

    • b22
    • 11
    • b25
    • x86_64
    • generic
    • Verified

        ADDITIONAL SYSTEM INFORMATION :
        Windows 10
        OpenJDK 11

        A DESCRIPTION OF THE PROBLEM :
        We have a method that iterates many times over a double array of 101 elements in size and it does this many times over with similar inputs. Since upgrading to Java11 we are seeing it fail once it is C2 compiled

        I have tried running with -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly enabled but the output was mangled together

        I do have a mini dump file if that would help

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x000002223d06a0ba, pid=868, tid=11716
        #
        # JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)
        # Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
        # Problematic frame:
        # J 14134 c2 au.com.tradefloor.option.valuation.CoxRossRubinstein.calculate(Lau/com/tradefloor/options/OptionType;Lau/com/tradefloor/options/ExerciseStyle;IDDDDD[DD)D (946 bytes) @ 0x000002223d06a0ba [0x000002223d068140+0x0000000000001f7a]
        #
        # Core dump will be written. Default location: C:\dev\apache-tomcat-8.5.31\bin\hs_err_pid868.mdmp
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

        REGRESSION : Last worked in version 10.0.2


        ---------- BEGIN SOURCE ----------
        The code can be shared privately if needed
        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        There are no none workarounds yet

        FREQUENCY : always


          1. hs_err_pid24383.log
            113 kB
          2. hs_err_pid89377.log
            97 kB
          3. Test8211698_simple.java
            0.6 kB
          4. Test8211698.java
            0.8 kB

              rraghavan Rahul Raghavan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: