-
Bug
-
Resolution: Fixed
-
P4
-
17, 19
-
b15
-
ppc
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8284174 | 17.0.4 | Thomas Stuefe | P4 | Resolved | Fixed | b01 |
These tests are highly vulnerable against ASLR. On PPCLE, we apparently don't manage to map the heap into the lower 4G region, therefore CCS does not live there either.
The test requires for "-UseCompressedOops -Xshare:off" and a heap size of 128m and a ccs size of 1G ccs to live in the lower 4G. That is an optimistic assumption.
The VM attaches instead CCS to 0x100000000 (4GB) and calculates Narrow Base/Shift as 0/3, which is totally correct.
As a stop-gap measure, the test should be less strict for PPC.
A future solution would be to revise this test.
The test requires for "-UseCompressedOops -Xshare:off" and a heap size of 128m and a ccs size of 1G ccs to live in the lower 4G. That is an optimistic assumption.
The VM attaches instead CCS to 0x100000000 (4GB) and calculates Narrow Base/Shift as 0/3, which is totally correct.
As a stop-gap measure, the test should be less strict for PPC.
A future solution would be to revise this test.
- backported by
-
JDK-8284174 CompressedClassPointers.java fails on ppc with 'Narrow klass shift: 0' missing
-
- Resolved
-
- relates to
-
JDK-8299387 CompressedClassPointers.java still fails on ppc with 'Narrow klass shift: 0' missing
-
- Resolved
-
-
JDK-8241825 Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/06c955a3
-
Commit openjdk/jdk/58487ddc
-
Review openjdk/jdk17u-dev/330
-
Review openjdk/jdk/7837
(2 links to)