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

Compilation fails with "this call site should not be polymorphic"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u112, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b107

      Description

      # Internal Error (/scratch/jprt/T/P1/075053.tohartma/s/hotspot/src/share/vm/ci/ciMethod.cpp:539), pid=6350, tid=6498
      # assert(false) failed: this call site should not be polymorphic

      Current CompileTask:
      C2: 20812 4313 b 4 VmFlagTest::testWritePositive (20 bytes)

      Stack: [0x00007fec223cb000,0x00007fec224cc000], sp=0x00007fec224c7d60, free space=1011k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13d4b85] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x155;; VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x155
      V [libjvm.so+0x13d58bf] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f;; VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0x95223d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd;; report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.so+0x7b7b12] ciMethod::call_profile_at_bci(int)+0x8e2;; ciMethod::call_profile_at_bci(int)+0x8e2
      V [libjvm.so+0xa351b8] Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool, bool)+0x108;; Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool, bool)+0x108
      V [libjvm.so+0xa366bd] Parse::do_call()+0x2ed;; Parse::do_call()+0x2ed
      V [libjvm.so+0x1125a62] Parse::do_one_bytecode()+0x1b62;; Parse::do_one_bytecode()+0x1b62
      V [libjvm.so+0x111ada2] Parse::do_one_block()+0x402;; Parse::do_one_block()+0x402
      V [libjvm.so+0x111b6a0] Parse::do_all_blocks()+0x50;; Parse::do_all_blocks()+0x50
      V [libjvm.so+0x111d444] Parse::Parse(JVMState*, ciMethod*, float)+0xc94;; Parse::Parse(JVMState*, ciMethod*, float)+0xc94
      V [libjvm.so+0x731380] ParseGenerator::generate(JVMState*)+0x160;; ParseGenerator::generate(JVMState*)+0x160
      V [libjvm.so+0xa36795] Parse::do_call()+0x3c5;; Parse::do_call()+0x3c5
      V [libjvm.so+0x1125a62] Parse::do_one_bytecode()+0x1b62;; Parse::do_one_bytecode()+0x1b62
      V [libjvm.so+0x111ada2] Parse::do_one_block()+0x402;; Parse::do_one_block()+0x402
      V [libjvm.so+0x111b6a0] Parse::do_all_blocks()+0x50;; Parse::do_all_blocks()+0x50
      V [libjvm.so+0x111d444] Parse::Parse(JVMState*, ciMethod*, float)+0xc94;; Parse::Parse(JVMState*, ciMethod*, float)+0xc94
      V [libjvm.so+0x731380] ParseGenerator::generate(JVMState*)+0x160;; ParseGenerator::generate(JVMState*)+0x160
      V [libjvm.so+0xa36795] Parse::do_call()+0x3c5;; Parse::do_call()+0x3c5
      V [libjvm.so+0x1125a62] Parse::do_one_bytecode()+0x1b62;; Parse::do_one_bytecode()+0x1b62
      V [libjvm.so+0x111ada2] Parse::do_one_block()+0x402;; Parse::do_one_block()+0x402
      V [libjvm.so+0x111b6a0] Parse::do_all_blocks()+0x50;; Parse::do_all_blocks()+0x50
      V [libjvm.so+0x111d444] Parse::Parse(JVMState*, ciMethod*, float)+0xc94;; Parse::Parse(JVMState*, ciMethod*, float)+0xc94
      V [libjvm.so+0x731380] ParseGenerator::generate(JVMState*)+0x160;; ParseGenerator::generate(JVMState*)+0x160
      V [libjvm.so+0x8c9e7c] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x101c;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x101c
      V [libjvm.so+0x72fa22] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2d2;; C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2d2
      V [libjvm.so+0x8d56b4] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x554;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x554
      V [libjvm.so+0x8d6d28] CompileBroker::compiler_thread_loop()+0x458;; CompileBroker::compiler_thread_loop()+0x458
      V [libjvm.so+0x133ecc9] JavaThread::thread_main_inner()+0x1c9;; JavaThread::thread_main_inner()+0x1c9
      V [libjvm.so+0x133ef26] JavaThread::run()+0x1c6;; JavaThread::run()+0x1c6
      V [libjvm.so+0x10c6b52] java_start(Thread*)+0xd2;; java_start(Thread*)+0xd2
      C [libpthread.so.0+0x7851]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zmajo Zoltan Majo (Inactive)
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: