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

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

    Details

    • Subcomponent:
    • Introduced In Build:
      b22
    • Introduced In Version:
      11
    • Resolved In Build:
      b25
    • CPU:
      x86_64
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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


          Attachments

          1. hs_err_pid24383.log
            113 kB
            Rahul Raghavan
          2. hs_err_pid868.log
            122 kB
            Fairoz Matte
          3. hs_err_pid89377.log
            97 kB
            Fairoz Matte
          4. Test8211698_simple.java
            0.6 kB
            Tobias Hartmann
          5. Test8211698.java
            0.8 kB
            Rahul Raghavan

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: