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

Remove ArrayAllocatorMallocLimit and associated code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • hotspot
    • b17

      It looks like ArrayAllocator, MmapArrayAllocator, and MallocArrayAllocator were added for Solaris to workaround some issues with the malloc implementation. Solaris support has been removed, but the classes and the associated flag ArrayAllocatorMallocLimit still exist. Currently ArrayAllocatorMallocLimit defaults to the max value of size_t, making it a noop by default.

      Very few places make use of ArrayAllocator and friends, making ArrayAllocatorMallocLimit ineffective. It should probably be removed.

            azafari Afshin Zafari
            jcking Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: