RFR: 8303863: RISC-V: TestArrayStructs.java fails after JDK-8303604
Feilong Jiang
fjiang at openjdk.org
Thu Mar 9 14:48:23 UTC 2023
The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.
----------------------------------------------------------------------
[JDK-8303604](https://bugs.openjdk.org/browse/JDK-8303604) fixes an issue with passing structs whose size is not a power of two on SysV and AArch64 platforms. The same issue happens on RISC-V.
Modifications are unnecessary for `STRUCT_REGISTER_F` and `STRUCT_REGISTER_XF`. If there are no available registers, they will fall back to `STRUCT_REGISTER_X`.
Testing:
- [x] TestArrayStructs.java
- [x] jdk_foreign on Unmatched Board (release build)
-------------
Commit messages:
- fix oob
Changes: https://git.openjdk.org/jdk/pull/12950/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12950&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303863
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/12950.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12950/head:pull/12950
PR: https://git.openjdk.org/jdk/pull/12950
More information about the core-libs-dev
mailing list