-
Bug
-
Resolution: Fixed
-
P4
-
26
-
b04
-
riscv
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8360516 | 25.0.1 | Fei Yang | P4 | Resolved | Fixed | master |
This disables BigInteger.multiplyToLen(), BigInteger.squareToLen(), BigInteger.montgomeryMultiply()
and BigInteger.montgomerySquare() on linux-riscv64 platforms where misaligned memory accesses is slow.
The reason is that these four BigInteger intrinsics do 8-byte misaligned memory accesses to int arrays
under -XX:+UseCompactObjectHeaders. And this will have a negative impact on SPECJvm2008 crypto tests.
and BigInteger.montgomerySquare() on linux-riscv64 platforms where misaligned memory accesses is slow.
The reason is that these four BigInteger intrinsics do 8-byte misaligned memory accesses to int arrays
under -XX:+UseCompactObjectHeaders. And this will have a negative impact on SPECJvm2008 crypto tests.
- backported by
-
JDK-8360516 RISC-V: Only enable BigInteger intrinsics when AvoidUnalignedAccess == false
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/e23c8175
-
Commit(master) openjdk/jdk/34412da5
-
Review(master) openjdk/jdk25u/5
-
Review(master) openjdk/jdk/25923