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

ZGC: riscv, ppc ZPlatformAddressOffsetBits may return a too large value

XMLWordPrintable

    • gc
    • b26
    • ppc, riscv

      The way that ZPlatformAddressOffsetBits is implemented on riscv and ppc may result in a return value of 45. This is larger than the max supported value of 44 (because of other internal data structures). This was fixed in JDK-8330275 for aarch64.

      Before JDK-8350441 the issue on manifested if one tried to select a heap larger than 16 TB (not supported), but after JDK-8350441 we try to double the heap address space when running on a NUMA machine. So we may now encounter this bug for heaps larger than 8TB (which is supported).

      While ZPlatformAddressOffsetBits needs an overhaul. (It was written for non-generational ZGC where we had the three color bits inside the address.) The proposal is that we solve this for ppc and riscv by doing the same thing we did for aarch64 in JDK-8330275

            aboldtch Axel Boldt-Christmas
            aboldtch Axel Boldt-Christmas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: