Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 22, 23
-
b18
-
riscv
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8330069 | 22.0.2 | Gui Cao | P4 | Resolved | Fixed | b04 |
JDK-8330101 | 21.0.4 | Gui Cao | P4 | Resolved | Fixed | b01 |
JDK-8330102 | 17.0.12 | Gui Cao | P4 | Resolved | Fixed | b01 |
Description
1. "features" string without specifying any jvm flags
```
$ /home/zifeihan/jtreg/bin/jtreg -jdk:/home/zifeihan/jre/jdk /home/zifeihan/jdk/test/lib-test/jdk/test/whitebox/CPUInfoTest.java
----------System.out:(4/167)----------
WB.getCPUFeatures(): "rv64 i m a f d c v zba zbb zbs"
CPUInfo.getAdditionalCPUInfo(): ""
CPUInfo.getFeatures(): [rv64, i, m, a, f, d, c, v, zba, zbb, zbs]
TEST PASSED
```
2. "features" string with specifying `-XX:-UseZba`
```
$ /home/zifeihan/jtreg/bin/jtreg -javaoption:-XX:-UseZba -jdk:/home/zifeihan/jre/jdk /home/zifeihan/jdk/test/lib-test/jdk/test/whitebox/CPUInfoTest.java
----------System.out:(4/167)----------
WB.getCPUFeatures(): "rv64 i m a f d c v zba zbb zbs"
CPUInfo.getAdditionalCPUInfo(): ""
CPUInfo.getFeatures(): [rv64, i, m, a, f, d, c, v, zba, zbb, zbs]
TEST PASSED
```
Attachments
Issue Links
- backported by
-
JDK-8330069 RISC-V: Need to sync CPU features with related JVM flags
- Resolved
-
JDK-8330101 RISC-V: Need to sync CPU features with related JVM flags
- Resolved
-
JDK-8330102 RISC-V: Need to sync CPU features with related JVM flags
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/ed9c1280
-
Commit openjdk/jdk21u-dev/18254641
-
Commit openjdk/jdk22u/bcf0d256
-
Commit openjdk/jdk/b9331cd2
-
Review openjdk/jdk17u-dev/2385
-
Review openjdk/jdk21u-dev/480
-
Review openjdk/jdk22u/135
-
Review openjdk/jdk/18668