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 452a5fb commit 7f131a9Copy full SHA for 7f131a9
src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp
@@ -55,14 +55,15 @@ void C2SafepointPollStub::emit(C2_MacroAssembler& masm) {
55
56
int C2EntryBarrierStub::max_size() const {
57
// 4 bytes for alignment
58
- return 3 * NativeInstruction::instruction_size + 4 + 4;
+ return 4 * NativeInstruction::instruction_size + 4 + 4;
59
}
60
61
void C2EntryBarrierStub::emit(C2_MacroAssembler& masm) {
62
__ bind(entry());
63
// emits auipc + jalr for address inside code cache
64
__ far_call(StubRoutines::method_entry_barrier());
65
66
+ // emits auipc + jr assuming continuation is not near
67
__ j(continuation());
68
69
// make guard value 4-byte aligned so that it can be accessed atomically
0 commit comments