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

Non-CFG nodes have control edges to calls, instead of the call's control projection

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • Verification:
      Verified

      Description

      Stress test fails with ZGC in the following assertion:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open/src/hotspot/share/opto/type.hpp:1611), fpid=23780, tid=23825
      # assert(_base == Tuple) failed: Not a Tuple
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0+26) (fastdebug build 13-ea+26)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-ea+26, mixed mode, tiered, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1352fcd] ProjNode::proj_type(Type const*) const [clone .part.29]+0x3d
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:MaxRAMPercentage=50 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S761/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df2e8f84-4352-4945-a7cf-d9b04f76a42b/runs/54cb9e34-c689-45bc-b21b-7aaa1d3e0e4d/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_sparkexamples_SparkExamples24H_java/scratch/0/java.io.tmpdir -Duser.home=/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S761/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df2e8f84-4352-4945-a7cf-d9b04f76a42b/runs/54cb9e34-c689-45bc-b21b-7aaa1d3e0e4d/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_sparkexamples_SparkExamples24H_java/scratch/0/user.home -Dhadoop.root.logger=WARN,console -DSEED=1000 --add-exports=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/java.util=ALL-UNNAMED --add-exports=java.base/java.util.concurrent=ALL-UNNAMED --add-exports=java.base/java.nio=ALL-UNNAMED -Dhadoop.home.dir=/scratch/opt/mach5/mesos/work_dir/jib-master/install/org/apache/hadoop/common/hadoop/3.1.1/hadoop-3.1.1.tar.gz/hadoop-3.1.1 -Dspark.master=local[9] -Dspark.sql.warehouse.dir=spark_tmp -Duser.country=US -Duser.language=en applications.kitchensink.process.stress.Main /scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S761/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df2e8f84-4352-4945-a7cf-d9b04f76a42b/runs/54cb9e34-c689-45bc-b21b-7aaa1d3e0e4d/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_sparkexamples_SparkExamples24H_java/scratch/0/kitchensink.final.properties

      Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 8 cores, 59G, Oracle Linux Server release 7.2
      Time: Sat Jun 22 18:27:17 2019 UTC elapsed time: 1538 seconds (0d 0h 25m 38s)

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

      Current thread (0x00007f68382c23d0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23825, stack(0x00007f6609941000,0x00007f6609a42000)]


      Current CompileTask:
      C2:1538927 45600 ! 4 org.codehaus.janino.UnitCompiler::compile2 (441 bytes)

      Stack: [0x00007f6609941000,0x00007f6609a42000], sp=0x00007f6609a3c250, free space=1004k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1352fcd] ProjNode::proj_type(Type const*) const [clone .part.29]+0x3d
      V [libjvm.so+0x148eb9e] PhaseIterGVN::transform_old(Node*)+0x30e
      V [libjvm.so+0x148f5dd] PhaseIterGVN::optimize()+0x5d
      V [libjvm.so+0x181bcdc] ZBarrierSetC2::optimize_loops(PhaseIdealLoop*, LoopOptsMode, VectorSet&, Node_Stack&, Node_List&) const+0x4bc
      V [libjvm.so+0x11e1dfe] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0xfae
      V [libjvm.so+0x9c7e5a] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x2aa
      V [libjvm.so+0x9c530b] Compile::Optimize()+0xdcb
      V [libjvm.so+0x9c665c] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x106c
      V [libjvm.so+0x8073dd] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
      V [libjvm.so+0x9d320d] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x46d
      V [libjvm.so+0x9d4218] CompileBroker::compiler_thread_loop()+0x3b8
      V [libjvm.so+0x16cb65a] JavaThread::thread_main_inner()+0x26a
      V [libjvm.so+0x16d3cc7] JavaThread::run()+0x227
      V [libjvm.so+0x16d0d36] Thread::call_run()+0xf6
      V [libjvm.so+0x13ef21e] thread_native_entry(Thread*)+0x10e

      Register to memory mapping:

      RAX=0x00007f6840824000 points into unknown readable memory: 58 00 00 00 00 00 00 00
      RBX=0x00007f6609a3d6b0 is pointing into the stack for thread: 0x00007f68382c23d0
      RCX=0x00007f683f74fe99: <offset 0x00000000019ffe99> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/13/26/linux-x64-debug.jdk/jdk-13/fastdebug/lib/server/libjvm.so at 0x00007f683dd50000
      RDX=0x00007f683f74fea5: <offset 0x00000000019ffea5> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/13/26/linux-x64-debug.jdk/jdk-13/fastdebug/lib/server/libjvm.so at 0x00007f683dd50000
      RSP=0x00007f6609a3c250 is pointing into the stack for thread: 0x00007f68382c23d0
      RBP=0x00007f6609a3c270 is pointing into the stack for thread: 0x00007f68382c23d0
      RSI=0x000000000000064b is an unknown value
      RDI=0x00007f683f5d7a80: <offset 0x0000000001887a80> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/13/26/linux-x64-debug.jdk/jdk-13/fastdebug/lib/server/libjvm.so at 0x00007f683dd50000
      R8 =0x0000000000000003 is an unknown value
      R9 =0x0000000000000003 is an unknown value
      R10=0x0 is NULL
      R11=0x0 is NULL
      R12=0x00007f65056ba320 points into unknown readable memory: 28 86 af 3f 68 7f 00 00
      R13=0x00007f65d001a860 points into unknown readable memory: 08 95 a1 3f 68 7f 00 00
      R14=0x00007f6609a3e120 is pointing into the stack for thread: 0x00007f68382c23d0
      R15=0x00007f65056ba320 points into unknown readable memory: 28 86 af 3f 68 7f 00 00


      Registers:
      RAX=0x00007f6840824000, RBX=0x00007f6609a3d6b0, RCX=0x00007f683f74fe99, RDX=0x00007f683f74fea5
      RSP=0x00007f6609a3c250, RBP=0x00007f6609a3c270, RSI=0x000000000000064b, RDI=0x00007f683f5d7a80
      R8 =0x0000000000000003, R9 =0x0000000000000003, R10=0x0000000000000000, R11=0x0000000000000000
      R12=0x00007f65056ba320, R13=0x00007f65d001a860, R14=0x00007f6609a3e120, R15=0x00007f65056ba320
      RIP=0x00007f683f0a2fcd, EFLAGS=0x0000000000010297, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00007f6609a3c250)
      0x00007f6609a3c250: 00007f6609a3d6b0 00007f6609a3d6b0
      0x00007f6609a3c260: 000000000000058c 00007f65056ba320
      0x00007f6609a3c270: 00007f6609a3c2c0 00007f683f1deb9e
      0x00007f6609a3c280: 00007f6609a3e068 00007f6609a3c2a0

      Instructions: (pc=0x00007f683f0a2fcd)
      0x00007f683f0a2ecd: 5d ff e0 48 83 c4 08 31 c0 5b 5d c3 0f 1f 80 00
      0x00007f683f0a2edd: 00 00 00 48 8d 05 f9 64 a6 00 45 31 c0 48 8d 0d
      0x00007f683f0a2eed: ea 4c 69 00 48 8d 15 f6 4c 69 00 be 73 01 00 00
      0x00007f683f0a2efd: 48 8b 00 c6 00 58 44 8b 4f 1c 31 c0 48 8d 3d 80
      0x00007f683f0a2f0d: 5c 53 00 e8 2b 0b 73 ff e8 86 31 09 00 eb 97 0f
      0x00007f683f0a2f1d: 1f 40 00 55 48 89 e5 53 48 89 fb 48 83 ec 08 8b
      0x00007f683f0a2f2d: 47 1c 85 c0 74 1d 48 8b 43 08 48 8b 38 48 8b 07
      0x00007f683f0a2f3d: 48 8b 80 a8 00 00 00 48 83 c4 08 5b 5d ff e0 0f
      0x00007f683f0a2f4d: 1f 40 00 48 8d 05 89 64 a6 00 45 31 c0 48 8d 0d
      0x00007f683f0a2f5d: 7a 4c 69 00 48 8d 15 86 4c 69 00 be 73 01 00 00
      0x00007f683f0a2f6d: 48 8b 00 c6 00 58 44 8b 4f 1c 31 c0 48 8d 3d 10
      0x00007f683f0a2f7d: 5c 53 00 e8 bb 0a 73 ff e8 16 31 09 00 eb a7 0f
      0x00007f683f0a2f8d: 1f 40 00 55 48 89 e5 41 55 49 89 f5 41 54 49 89
      0x00007f683f0a2f9d: fc 53 48 83 ec 08 83 7e 10 08 74 33 48 8d 05 30
      0x00007f683f0a2fad: 64 a6 00 48 8d 0d e2 ce 6a 00 48 8d 15 e7 ce 6a
      0x00007f683f0a2fbd: 00 be 4b 06 00 00 48 8d 3d b6 4a 53 00 48 8b 00
      0x00007f683f0a2fcd: c6 00 58 31 c0 e8 69 0a 73 ff e8 c4 30 09 00 41
      0x00007f683f0a2fdd: 8b 5c 24 54 41 3b 5d 14 0f 83 e5 00 00 00 49 8b
      0x00007f683f0a2fed: 45 18 48 8b 1c d8 41 8b 44 24 1c 85 c0 0f 84 90
      0x00007f683f0a2ffd: 00 00 00 41 83 7c 24 54 05 74 18 48 83 c4 08 48
      0x00007f683f0a300d: 89 d8 5b 41 5c 41 5d 5d c3 66 2e 0f 1f 84 00 00
      0x00007f683f0a301d: 00 00 00 49 8b 44 24 08 48 8b 10 0f b7 42 30 83
      0x00007f683f0a302d: e0 1f 66 83 f8 1f 75 d3 f6 42 32 08 74 cd 48 8b
      0x00007f683f0a303d: ba a8 00 00 00 48 85 ff 74 c1 e8 f4 f3 54 ff 84
      0x00007f683f0a304d: c0 74 b8 48 8d 05 f1 3b b6 00 48 8b 7b 08 ba 01
      0x00007f683f0a305d: 00 00 00 48 8b 00 48 8b 70 08 e8 d4 d0 3a 00 48
      0x00007f683f0a306d: 8b 78 08 48 8b 07 48 8b 80 a0 00 00 00 48 83 c4
      0x00007f683f0a307d: 08 5b 41 5c 41 5d 5d ff e0 66 2e 0f 1f 84 00 00
      0x00007f683f0a308d: 00 00 00 48 8d 05 49 63 a6 00 45 31 c0 48 8d 0d
      0x00007f683f0a309d: 3a 4b 69 00 48 8d 15 46 4b 69 00 be 73 01 00 00
      0x00007f683f0a30ad: 48 8d 3d dc 5a 53 00 48 8b 00 c6 00 58 45 8b 4c
      0x00007f683f0a30bd: 24 1c 31 c0 e8 7a 09 73 ff e8 d5 2f 09 00 e9 30


      Stack slot to memory mapping:
      stack at sp + 0 slots: 0x00007f6609a3d6b0 is pointing into the stack for thread: 0x00007f68382c23d0
      stack at sp + 1 slots: 0x00007f6609a3d6b0 is pointing into the stack for thread: 0x00007f68382c23d0
      stack at sp + 2 slots: 0x000000000000058c is an unknown value
      stack at sp + 3 slots: 0x00007f65056ba320 points into unknown readable memory: 28 86 af 3f 68 7f 00 00
      stack at sp + 4 slots: 0x00007f6609a3c2c0 is pointing into the stack for thread: 0x00007f68382c23d0
      stack at sp + 5 slots: 0x00007f683f1deb9e: <offset 0x000000000148eb9e> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/13/26/linux-x64-debug.jdk/jdk-13/fastdebug/lib/server/libjvm.so at 0x00007f683dd50000
      stack at sp + 6 slots: 0x00007f6609a3e068 is pointing into the stack for thread: 0x00007f68382c23d0
      stack at sp + 7 slots: 0x00007f6609a3c2a0 is pointing into the stack for thread: 0x00007f68382c23d0

        Attachments

          Activity

            People

            • Assignee:
              neliasso Nils Eliasson
              Reporter:
              lmesnik Leonid Mesnik
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: