-
Bug
-
Resolution: Fixed
-
P2
-
17, 21, 22
-
b18
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342887 | 21.0.7-oracle | Thomas Schatzl | P2 | Resolved | Fixed | master |
JDK-8333429 | 21.0.5 | Liang Mao | P2 | Resolved | Fixed | b01 |
There is no logic checking PLAB sizes are aligned by ObjectAlignmentInBytes at start-up. However, Parallel and G1 assume that's true.
One can trigger the assertion failure using:
`make CONF=debug test` ...
...
TEST=gc/InfiniteList.java JTREG="VM_OPTIONS=-XX:+UseParallelGC -XX:YoungPLABSize=4097 -XX:ObjectAlignmentInBytes=16"
```
or
```
TEST=gc/InfiniteList.java JTREG="VM_OPTIONS=-XX:+UseG1GC -XX:-ResizePLAB -XX:YoungPLABSize=4097 -XX:ObjectAlignmentInBytes=16"
```
It's the same problem with `OldPLABSize`.
One can trigger the assertion failure using:
`make CONF=debug test` ...
...
TEST=gc/InfiniteList.java JTREG="VM_OPTIONS=-XX:+UseParallelGC -XX:YoungPLABSize=4097 -XX:ObjectAlignmentInBytes=16"
```
or
```
TEST=gc/InfiniteList.java JTREG="VM_OPTIONS=-XX:+UseG1GC -XX:-ResizePLAB -XX:YoungPLABSize=4097 -XX:ObjectAlignmentInBytes=16"
```
It's the same problem with `OldPLABSize`.
- backported by
-
JDK-8333429 YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
- Resolved
-
JDK-8342887 YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/9c0896c0
-
Commit openjdk/jdk/060db1b2
-
Review openjdk/jdk21u-dev/646
-
Review openjdk/jdk/15901
(1 links to)