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

G1 Hot card cache should use ArrayAllocator to allocate the cache array

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b54
    • OS:
      solaris

      Backports

        Description

        The hot card cache uses malloc directly to allocate its backing array used for the cache.

        In case the hot card cache is set extremely large (2^30 or 2^31) Solaris may not be able to find enough space in its (contiguous) space available for malloc, exiting the VM.

        One workaround is to use the ArrayAllocator helper class for these allocations.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: