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

ZGC: Contiguous memory reservation probing is broken for TB heap sizes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b15
    • Verification:
      Not verified

      Description

      The contiguous memory reservation code tries to reserve the entire heap view as one contiguous address range. If it fails, then we shift the start address and try again. However, if the view size is equal to ZAddressOffsetMax we end up trying to shift the start with 0, and GC will keep looping forever.

        Attachments

          Activity

            People

            Assignee:
            stefank Stefan Karlsson
            Reporter:
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: