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

[lworld] Flat array allocations are limited to 16 GB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot
    • gc

      Looking at our oop iterator code (at the core of our heap traversal for all GCs) [1]:

      "int oopDesc::oop_iterate_size(OopClosureType* cl, MemRegion mr)"

      It looks like hotspot has never allocated anything larger than 16 GB, i.e. MAX_VALUE(int32_t) * HeapWordSize (8 bytes).

      Look into removing this limitation for large flat arrays

            dsimms David Simms
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: