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

VM hangs in C2Compiler

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b72

      Backports

        Description

        Compiler thread hangs with the following stack trace when VM is in the synchronizing state:

        (gdb) where
        #0 0x00007fb7db705179 in Klass::subklass (this=0x101343828)
        #1 0x00007fb7db4555c5 in find_finalizable_subclass (k=0x101343828)
        #2 Dependencies::find_finalizable_subclass (k=0x101343828)
        #3 0x00007fb7db3638ee in ciInstanceKlass::has_finalizable_subclass(this=0x7fb7d40a78e0)
        #4 0x00007fb7db8828fb in Parse::call_register_finalizer(this=0x7fb7c49f67a0)
        #5 0x00007fb7db882fb9 in Parse::return_current (this=0x101343828, value=0x0)
        #6 0x00007fb7db88f526 in Parse::do_one_bytecode (this=0x101343828)
        #7 0x00007fb7db8817d8 in Parse::do_one_block (this=0x7fb7c49f67a0)
        #8 0x00007fb7db881a57 in Parse::do_all_blocks (this=0x7fb7c49f67a0)
        #9 0x00007fb7db885fe9 in Parse::Parse (this=0x7fb7c49f67a0, caller=<value optimized out>, parse_method=<value optimized out>, expected_uses=15617)
        #10 0x00007fb7db3384e8 in ParseGenerator::generate (this=0x7fb78c173120, jvms=0x7fb7a40191f0)
        #11 0x00007fb7db4aea36 in Parse::do_call (this=0x7fb7c49f6bc0)
        #12 0x00007fb7db88f5aa in Parse::do_one_bytecode (this=0x101343828)
        #13 0x00007fb7db8817d8 in Parse::do_one_block (this=0x7fb7c49f6bc0)
        #14 0x00007fb7db881a57 in Parse::do_all_blocks (this=0x7fb7c49f6bc0)
        #15 0x00007fb7db885fe9 in Parse::Parse (this=0x7fb7c49f6bc0, caller=<value optimized out>, parse_method=<value optimized out>, expected_uses=15617)
        #16 0x00007fb7db3384e8 in ParseGenerator::generate (this=0x7fb78c173030, jvms=0x7fb7a40190e0)
        #17 0x00007fb7db4aea36 in Parse::do_call (this=0x7fb7c49f6fe0)
        #18 0x00007fb7db88f5aa in Parse::do_one_bytecode (this=0x101343828)
        #19 0x00007fb7db8817d8 in Parse::do_one_block (this=0x7fb7c49f6fe0)
        #20 0x00007fb7db881a57 in Parse::do_all_blocks (this=0x7fb7c49f6fe0)
        #21 0x00007fb7db885fe9 in Parse::Parse (this=0x7fb7c49f6fe0, caller=<value optimized out>, parse_method=<value optimized out>, expected_uses=15617)
        #22 0x00007fb7db3384e8 in ParseGenerator::generate (this=0x7fb78c172f40, jvms=0x7fb7a4018f60)
        #23 0x00007fb7db3e8dfa in Compile::Compile (this=<value optimized out>, ci_env=<value optimized out>, compiler=0x7fb7d40f8ad0, target=<value optimized out>, osr_bci=-1, subsume_loads=<value optimized out>, do_escape_analysis=true, eliminate_boxing=true)
        #24 0x00007fb7db336eb8 in C2Compiler::compile_method (this=0x7fb7d40f8ad0, env=0x7fb7c49f89f0, target=0x17e0710, entry_bci=-1)
        #25 0x00007fb7db3f343a in CompileBroker::invoke_compiler_on_method (task=0x7fb7741f7740)
        #26 0x00007fb7db3f43e6 in CompileBroker::compiler_thread_loop ()
        #27 0x00007fb7db9a786f in JavaThread::thread_main_inner (this=0x7fb7d4101800)
        #28 0x00007fb7db9a799c in JavaThread::run (this=0x7fb7d4101800)
        #29 0x00007fb7db85bde8 in java_start (thread=0x7fb7d4101800)
        #30 0x0000003785007851 in start_thread ()
        #31 0x0000003784ce767d in clone ()

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  poonam Poonam Bajaj Parhar
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: