JDK-8148758 : Compilation fails with "this call site should not be polymorphic"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u112,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-02-01
  • Updated: 2016-11-23
  • Resolved: 2016-02-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b107Fixed
Related Reports
Duplicate :  
Relates :  
Sub Tasks
JDK-8148970 :  
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]

Comments
This test has started failing in JDK9-hs-rt with the 2016-02-02 RT_Baseline nightly. This test needs to be quarantined in JDK9-hs in order to reduce the noise in the nightly testing. Please add a sub-task to quarantine this test in JDK9-hs and push that fix to JDK9-hs as soon as is practical. Please make sure that Alejandro knows that the quarantine changeset is coming. Of course, if the fix for this bug is going to push to JDK9-hs in the next day or so, then quarantine can be skipped. If the fix will not make this week's JDK9-hs-comp -> JDK9-hs push, then please proceed with the quarantine.
03-02-2016