We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d89f4 commit 3789930Copy full SHA for 3789930
src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp
@@ -1349,6 +1349,7 @@ void LIR_Assembler::ic_call(LIR_OpJavaCall* op) {
1349
1350
void LIR_Assembler::emit_static_call_stub() {
1351
address call_pc = __ pc();
1352
+ assert((__ offset() % 4) == 0, "call pc (patchable jals) must be aligned to maintain atomicity");
1353
address stub = __ start_a_stub(call_stub_size());
1354
if (stub == NULL) {
1355
bailout("static call stub overflow");
0 commit comments