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

C2 Compilation fails with assert(_base >= OopPtr && _base <= AryPtr) failed: Not a Java pointer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b105
    • Resolved In Build:
      b112
    • CPU:
      generic
    • OS:
      generic

      Description

      Nightly failure with the following stack trace observed.

      V [jvm.dll+0x906080] os::platform_print_native_stack+0x100;; ?platform_print_native_stack@os@@SA_NPEAVoutputStream@@PEBXPEADH@Z+0x100
      V [jvm.dll+0xab006f] VMError::report+0xabf;; ?report@VMError@@CAXPEAVoutputStream@@_N@Z+0xabf
      V [jvm.dll+0xab0f3b] VMError::report_and_die+0x43b;; ?report_and_die@VMError@@SAXHPEBD0PEADPEAVThread@@PEAEPEAX40H_K@Z+0x43b
      V [jvm.dll+0xab153d] VMError::report_and_die+0x5d;; ?report_and_die@VMError@@SAXPEAVThread@@PEBDH11PEAD@Z+0x5d
      V [jvm.dll+0x4684d8] report_vm_error+0x78;; ?report_vm_error@@YAXPEBDH00ZZ+0x78
      V [jvm.dll+0xa6c699] TimeStamp::milliseconds+0x39;; ?milliseconds@TimeStamp@@QEBA_JXZ+0x39
      V [jvm.dll+0x429c22] CompileTask::print_impl+0x32;; ?print_impl@CompileTask@@CAXPEAVoutputStream@@PEAVMethod@@HH_NH2PEBD22@Z+0x32
      V [jvm.dll+0x42a181] CompileTask::print_line_on_error+0x81;; ?print_line_on_error@CompileTask@@QEAAXPEAVoutputStream@@PEADH@Z+0x81
      V [jvm.dll+0xaaff21] VMError::report+0x971;; ?report@VMError@@CAXPEAVoutputStream@@_N@Z+0x971
      V [jvm.dll+0xab0f3b] VMError::report_and_die+0x43b;; ?report_and_die@VMError@@SAXHPEBD0PEADPEAVThread@@PEAEPEAX40H_K@Z+0x43b
      V [jvm.dll+0xab153d] VMError::report_and_die+0x5d;; ?report_and_die@VMError@@SAXPEAVThread@@PEBDH11PEAD@Z+0x5d
      V [jvm.dll+0x4684d8] report_vm_error+0x78;; ?report_vm_error@@YAXPEBDH00ZZ+0x78
      V [jvm.dll+0x90e513] Compile::Process_OopMap_Node+0xa73;; ?Process_OopMap_Node@Compile@@QEAAXPEAVMachNode@@H@Z+0xa73
      V [jvm.dll+0x91073b] Compile::fill_buffer+0x10cb;; ?fill_buffer@Compile@@QEAAXPEAVCodeBuffer@@PEAI@Z+0x10cb
      V [jvm.dll+0x90da6f] Compile::Output+0x6bf;; ?Output@Compile@@QEAAXXZ+0x6bf
      V [jvm.dll+0x40ff38] Compile::Code_Gen+0x318;; ?Code_Gen@Compile@@AEAAXXZ+0x318
      V [jvm.dll+0x40ea8a] Compile::Compile+0xf2a;; ??0Compile@@QEAA@PEAVciEnv@@PEAVC2Compiler@@PEAVciMethod@@H_N33PEAVDirectiveSet@@@Z+0xf2a
      V [jvm.dll+0x32e8a2] C2Compiler::compile_method+0x112;; ?compile_method@C2Compiler@@UEAAXPEAVciEnv@@PEAVciMethod@@HPEAVDirectiveSet@@@Z+0x112
      V [jvm.dll+0x424f4b] CompileBroker::invoke_compiler_on_method+0x6bb;; ?invoke_compiler_on_method@CompileBroker@@CAXPEAVCompileTask@@@Z+0x6bb
      V [jvm.dll+0x423a2a] CompileBroker::compiler_thread_loop+0x2ea;; ?compiler_thread_loop@CompileBroker@@SAXXZ+0x2ea
      V [jvm.dll+0xa659c8] JavaThread::thread_main_inner+0x1a8;; ?thread_main_inner@JavaThread@@QEAAXXZ+0x1a8
      V [jvm.dll+0xa647c5] JavaThread::run+0x1f5;; ?run@JavaThread@@UEAAXXZ+0x1f5
      V [jvm.dll+0x901936] java_start+0xe6;; ?java_start@@YAIPEAVThread@@@Z+0xe6

        Attachments

        1. after_ideal.png
          after_ideal.png
          27 kB
        2. before_ideal.png
          before_ideal.png
          59 kB
        3. replay_pid319968.log
          197 kB

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                jgeorge Jini George (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: