Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283249

CompressedClassPointers.java fails on ppc with 'Narrow klass shift: 0' missing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      ppc

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: