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

Nashorn crashes with tiered on x86 when running v8 benchmark

    XMLWordPrintable

Details

    • x86
    • 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. hs_err_pid14494.log
          34 kB
          Chris Plummer
        2. hs_err_pid14583.log
          34 kB
          Chris Plummer
        3. hs_err_pid14597.log
          40 kB
          Chris Plummer
        4. hs_err_pid14645.log
          35 kB
          Chris Plummer
        5. hs_err_pid15097.log
          48 kB
          Chris Plummer
        6. hs_err_pid16895.log
          38 kB
          Chris Plummer
        7. hs_err_pid16974.log
          42 kB
          Chris Plummer
        8. hs_err_pid25436.log
          38 kB
          Chris Plummer
        9. instrument.diff
          3 kB
          David Simms
        10. instrument.log
          2 kB
          David Simms

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: