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

compiler/types/correctness/CorrectnessTest.java fails with Internal Error (open/src/hotspot/share/oops/methodData.cpp:1406)

    XMLWordPrintable

Details

    Description

      Test compiler/types/correctness/CorrectnessTest.java crashed with
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open/src/hotspot/share/oops/methodData.cpp:1406), pid=7426, tid=7439
      # fatal error: unexpected tag 32
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+21) (fastdebug build 14-ea+21-927)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+21-927, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x13513b9] MethodData::next_extra(DataLayout*)+0x39
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/scratch/1/core.7426)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Dtest.class.path.prefix=/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/types/correctness/CorrectnessTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/hotspot/jtreg/compiler/types/correctness:/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/test/lib:/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0 -Dtest.src=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/hotspot/jtreg/compiler/types/correctness -Dtest.src.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/hotspot/jtreg/compiler/types/correctness:/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/hotspot/jtreg -Dtest.classes=/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/types/correctness/CorrectnessTest.d -Dtest.class.path=/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/types/correctness/CorrectnessTest.d:/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/test/lib:/opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0 -Dtest.vm.opts=-XX:MaxRAMPercentage=6 -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=6 -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/linux-x64-debug.jdk/jdk-14/fastdebug -Dcompile.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/linux-x64-debug.jdk/jdk-14/fastdebug -Dtest.timeout.factor=4.0 -Dtest.root=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/src.full/open/test/hotspot/jtreg -Dtest.modules=java.base/jdk.internal.misc java.management -Dtest.nativepath=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/linux-x64-debug.test/hotspot/jtreg/native --add-modules=java.base,java.management --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:MaxRAMPercentage=6 -Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+21-927/linux-x64-debug.test/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType com.sun.javatest.regtest.agent.MainWrapper /opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35731103-9ce5-438a-b2e1-2f4c6a583a5b/runs/d649bc91-57a0-4e64-978c-1b430820433b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/compiler/types/correctness/CorrectnessTest.d/main.0.jta RETURN

      Host: Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 58G, Oracle Linux Server release 7.6
      Time: Sun Nov 3 18:25:59 2019 UTC elapsed time: 1 seconds (0d 0h 0m 1s)

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

      Current thread (0x00007f3cc0588800): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=7439, stack(0x00007f3ca1566000,0x00007f3ca1667000)]


      Current CompileTask:
      C2: 1564 455 4 compiler.types.correctness.scenarios.ClassInstanceOf::run (132 bytes)

      Stack: [0x00007f3ca1566000,0x00007f3ca1667000], sp=0x00007f3ca16619d0, free space=1006k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13513b9] MethodData::next_extra(DataLayout*)+0x39
      V [libjvm.so+0x8ca8f8] ciMethodData::arg_info() const+0x118
      V [libjvm.so+0x8cad52] ciMethodData::clear_escape_info()+0x152
      V [libjvm.so+0x6836ed] BCEscapeAnalyzer::initialize()+0x1d
      V [libjvm.so+0x688524] BCEscapeAnalyzer::compute_escape_info()+0x624
      V [libjvm.so+0x688dd8] BCEscapeAnalyzer::BCEscapeAnalyzer(ciMethod*, BCEscapeAnalyzer*)+0x4c8
      V [libjvm.so+0x8bae6c] ciMethod::get_bcea()+0x4c
      V [libjvm.so+0xbaf7b3] ConnectionGraph::process_call_arguments(CallNode*)+0x4c3
      V [libjvm.so+0xbba53c] ConnectionGraph::compute_escape()+0xa3c
      V [libjvm.so+0xbbbce4] ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0x134
      V [libjvm.so+0x9d6bc2] Compile::Optimize()+0x632
      V [libjvm.so+0x9d8634] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1094
      V [libjvm.so+0x81ed30] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x110
      V [libjvm.so+0x9e4ebc] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2cc
      V [libjvm.so+0x9e5e68] CompileBroker::compiler_thread_loop()+0x468
      V [libjvm.so+0x170e3e6] JavaThread::thread_main_inner()+0x226
      V [libjvm.so+0x1713af6] Thread::call_run()+0xf6
      V [libjvm.so+0x1434b5e] thread_native_entry(Thread*)+0x10e

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: