[aarch64 11u-dev] assert(allocates2(pc)) failed: relocation addr must be in this section

Doerr, Martin martin.doerr at sap.com
Wed Mar 25 15:15:20 UTC 2020


Hi arm64 folks,

we have observed the assertion (see subject) when running the following test with jdk11u-dev fastdebug build:
jtreg_hotspot_tier1_work/JTwork/compiler/startup/SmallCodeCacheStartup

Stack:
V  [libjvm.so+0x89aaf4]  report_vm_error(char const*, int, char const*, char const*, ...)+0x104
V  [libjvm.so+0x745a84]  CodeSection::relocate(unsigned char*, RelocationHolder const&, int)+0x124
V  [libjvm.so+0x7e0124]  CompiledStaticCall::emit_to_interp_stub(CodeBuffer&, unsigned char*)+0xf4
V  [libjvm.so+0x2e194c]  CallStaticJavaDirectNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x13c
V  [libjvm.so+0x11b44b0]  Compile::fill_buffer(CodeBuffer*, unsigned int*)+0x3d0
V  [libjvm.so+0x7be024]  Compile::Code_Gen()+0x454
V  [libjvm.so+0x7c12fc]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xcac
V  [libjvm.so+0x5d8e50]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xd0

Hint: The tests runs with -XX:ReservedCodeCacheSize=3m -XX:CICompilerCount=64 -Xcomp

I haven't tried to reproduce, but this may ring a bell for somebody.

Best regards,
Martin



More information about the hotspot-compiler-dev mailing list