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 039f292 commit 3496b13Copy full SHA for 3496b13
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