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

compiler/intrinsics/bmi/verifycode/BzhiTestI2L.java fails with "fatal error: Not compilable at tier 3: CodeBuffer overflow"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      generic

      Description

      The following test failed in the JDK17 CI:

      compiler/intrinsics/bmi/verifycode/BzhiTestI2L.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/689)----------
      command: main -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+AbortVMOnCompilationFailure -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI2Instructions compiler.intrinsics.bmi.verifycode.BzhiTestI2L
      reason: User specified action: run main/bootclasspath/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+AbortVMOnCompilationFailure -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI2Instructions compiler.intrinsics.bmi.verifycode.BzhiTestI2L
      Mode: othervm [/bootclasspath specified, /othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      elapsed time (seconds): 38.06
      ----------configuration:(4/115)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(25/1511)*----------
      TEST CASE:public long compiler.intrinsics.bmi.TestBzhiI2L$BzhiI2LExpr.intToLongExpr(int)
      public long compiler.intrinsics.bmi.TestBzhiI2L$BzhiI2LExpr.intToLongExpr(int)
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\\compileBroker.cpp:2143
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (t:\\workspace\\open\\src\\hotspot\\share\\compiler\\compileBroker.cpp:2143), pid=8424, tid=48860
      # fatal error: Not compilable at tier 3: CodeBuffer overflow
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0+25) (fastdebug build 17-ea+25-LTS-2215)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+25-LTS-2215, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\scratch\\2\\hs_err_pid8424.mdmp
      #
      Unsupported internal testing APIs have been used.

      # An error report file with more information is saved as:
      # T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\scratch\\2\\hs_err_pid8424.log
      #
      # Compiler replay data is saved as:
      # T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\scratch\\2\\replay_pid8424.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(0/0)----------
      ----------rerun:(57/6865)*----------


      Here's the crashing thread's stack:

      --------------- T H R E A D ---------------

      Current thread (0x00000209619b3e30): JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=48860, stack(0x00000047cb400000,0x00000047cb500000)]


      Current CompileTask:
      C1: 33199 5222 b 3 sun.security.util.KnownOIDs::<clinit> (5905 bytes)

      Stack: [0x00000047cb400000,0x00000047cb500000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xad5191] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
      V [jvm.dll+0xcfa8e5] VMError::report+0x1005 (vmError.cpp:739)
      V [jvm.dll+0xcfc26e] VMError::report_and_die+0x7fe (vmError.cpp:1549)
      V [jvm.dll+0x4c242e] report_fatal+0xde (debug.cpp:304)
      V [jvm.dll+0x492d14] CompileBroker::post_compile+0x124 (compileBroker.cpp:2145)
      V [jvm.dll+0x4911df] CompileBroker::invoke_compiler_on_method+0xa4f (compileBroker.cpp:2340)
      V [jvm.dll+0x48e717] CompileBroker::compiler_thread_loop+0x2b7 (compileBroker.cpp:1986)
      V [jvm.dll+0xc8a4d7] JavaThread::thread_main_inner+0x1f7 (thread.cpp:1311)
      V [jvm.dll+0xc81914] Thread::call_run+0x1b4 (thread.cpp:399)
      V [jvm.dll+0xad3a8e] thread_native_entry+0xae (os_windows.cpp:549)
      C [ucrtbase.dll+0x1fb80]
      C [KERNEL32.DLL+0x84d4]
      C [ntdll.dll+0x51781]

      The test task's JVM args are:

      -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+VerifyOop

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: