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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 16
    • 16
    • hotspot
    • gc
    • b15
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: