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

Nashorn crashes with tiered on x86 when running v8 benchmark

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      I'm seeing numerous crashes on x86 while running nashorn with the v8 benchmarks. This is on a dual-core machine, and the problem seems to go away when -XX:-BackgroundCompilation is added. Command line is:

      /java/re/jdk/8/promoted/latest/binaries/linux-i586/bin/java -XX:+TieredCompilation -XX:+PrintCodeCache -jar /java/re/jdk/8/promoted/latest/binaries/linux-i586/jre/lib/ext/nashorn.jar run.js

      Here are 5 of the crashes. hserr files are attached:

      # SIGSEGV (0xb) at pc=0xab8d8a52, pid=15097, tid=3078216560
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode linux-x86 )
      # Problematic frame:
      # J jdk.nashorn.internal.scripts.Script$splay._L293(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

      # SIGSEGV (0xb) at pc=0xa9f6b539, pid=14645, tid=3077606256
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode linux-x86 )
      # Problematic frame:
      # J jdk.nashorn.internal.scripts.Script$raytrace._L426(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

      # SIGSEGV (0xb) at pc=0xa8b81c67, pid=14494, tid=3078482800
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode linux-x86 )
      # Problematic frame:
      # J jdk.nashorn.internal.scripts.Script$richards._L324(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object;

      #
      # SIGSEGV (0xb) at pc=0xa933ec14, pid=14583, tid=3078015856
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode linux-x86 )
      # Problematic frame:
      # J jdk.nashorn.internal.scripts.Script$deltablue._L691(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

      # SIGSEGV (0xb) at pc=0xaa63981a, pid=14597, tid=3077729136
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode linux-x86 )
      # Problematic frame:
      # J jdk.nashorn.internal.scripts.Script$earley_boyer$6._L3604(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
      #

        Attachments

        1. instrument.log
          2 kB
        2. instrument.diff
          3 kB
        3. hs_err_pid25436.log
          38 kB
        4. hs_err_pid16974.log
          42 kB
        5. hs_err_pid16895.log
          38 kB
        6. hs_err_pid15097.log
          48 kB
        7. hs_err_pid14645.log
          35 kB
        8. hs_err_pid14597.log
          40 kB
        9. hs_err_pid14583.log
          34 kB
        10. hs_err_pid14494.log
          34 kB

          Issue Links

            Activity

              People

              • Assignee:
                dsimms David Simms
                Reporter:
                cjplummer Chris Plummer
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: