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

[lworld][c1] withfield and defaultvalue handling for unloaded classes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      $ jtreg -javaoption:-XX:+EnableValhallaC1 -javaoption:-XX:TieredStopAtLevel=1 -javaoption:-Xcomp WithFieldAccessorTest.java

      # Internal Error (/home/iklam/jdk/valhalla/open/src/hotspot/share/c1/c1_GraphBuilder.cpp:1859), pid=18987, tid=19001
      # assert(holder->is_valuetype()) failed: must be a value klass

      Current thread (0x00007f2b60387800): JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=19001, stack(0x00007f2b34068000,0x00007f2b34169000)]


      Current CompileTask:
      C1: 3204 1226 b 1 WithFieldAccessorTest::main (141 bytes)

      Stack: [0x00007f2b34068000,0x00007f2b34169000], sp=0x00007f2b34166d20, free space=1019k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb57484] GraphBuilder::withfield(int)+0x6e4
      V [libjvm.so+0xb5daab] GraphBuilder::iterate_bytecodes_for_block(int)+0x214b
      V [libjvm.so+0xb5dcf2] GraphBuilder::iterate_all_blocks(bool)+0x162
      V [libjvm.so+0xb5ec78] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x3a8
      V [libjvm.so+0xb68aba] IR::IR(Compilation*, ciMethod*, int)+0x76a
      V [libjvm.so+0xb347fc] Compilation::build_hir() [clone .part.107]+0x31c
      V [libjvm.so+0xb38b28] Compilation::compile_java_method()+0xac8
      V [libjvm.so+0xb38fbf] Compilation::compile_method()+0x24f
      V [libjvm.so+0xb39990] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, DirectiveSet*)+0x420
      V [libjvm.so+0xb3b90a] Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x1aa
      V [libjvm.so+0xe3a5dc] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3cc
      V [libjvm.so+0xe3b828] CompileBroker::compiler_thread_loop()+0x4f8
      V [libjvm.so+0x1bf111a] JavaThread::thread_main_inner()+0x26a
      V [libjvm.so+0x1bf9128] JavaThread::run()+0x238
      V [libjvm.so+0x1bf6a76] Thread::call_run()+0xf6
      V [libjvm.so+0x18d60ae] thread_native_entry(Thread*)+0x10e

        Attachments

          Activity

            People

            • Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: