Skip to content

Commit 50426b3

Browse files
author
SendaoYan
committedOct 6, 2024
8337713: RISC-V: fix typos in macroAssembler_riscv.cpp
Reviewed-by: jwaters, fyang
1 parent 260d465 commit 50426b3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
 

‎src/hotspot/cpu/riscv/macroAssembler_riscv.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -2947,7 +2947,7 @@ int MacroAssembler::corrected_idivq(Register result, Register rs1, Register rs2,
29472947
return idivq_offset;
29482948
}
29492949

2950-
// Look up the method for a megamorpic invkkeinterface call.
2950+
// Look up the method for a megamorphic invokeinterface call.
29512951
// The target method is determined by <intf_klass, itable_index>.
29522952
// The receiver klass is in recv_klass.
29532953
// On success, the result will be in method_result, and execution falls through.
@@ -2962,9 +2962,9 @@ void MacroAssembler::lookup_interface_method(Register recv_klass,
29622962
assert_different_registers(recv_klass, intf_klass, scan_tmp);
29632963
assert_different_registers(method_result, intf_klass, scan_tmp);
29642964
assert(recv_klass != method_result || !return_method,
2965-
"recv_klass can be destroyed when mehtid isn't needed");
2965+
"recv_klass can be destroyed when method isn't needed");
29662966
assert(itable_index.is_constant() || itable_index.as_register() == method_result,
2967-
"caller must be same register for non-constant itable index as for method");
2967+
"caller must use same register for non-constant itable index as for method");
29682968

29692969
// Compute start of first itableOffsetEntry (which is at the end of the vtable).
29702970
int vtable_base = in_bytes(Klass::vtable_start_offset());

‎src/hotspot/cpu/riscv/methodHandles_riscv.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ void MethodHandles::generate_method_handle_dispatch(MacroAssembler* _masm,
444444
__ far_jump(RuntimeAddress(SharedRuntime::throw_IncompatibleClassChangeError_entry()));
445445
}
446446
}
447-
448447
}
449448

450449
#ifndef PRODUCT

‎test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @bug 8189131
2727
* @summary Interoperability tests with Actalis CA
2828
* Before this test set to manual, the original timeout
29-
* value if 180
29+
* value is 180
3030
* @library /test/lib
3131
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
3232
* @run main/othervm/manual -Djava.security.debug=certpath,ocsp

0 commit comments

Comments
 (0)