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

G1: humongous allocation attempts should take the GC locker into account

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs21
    • hs21
    • hotspot
    • gc
    • b08
    • generic
    • generic
    • Not verified

        When G1 tries to do a humongous allocation but cannot find enough contiguous regions in the heap it will attempt to do a collection pause in case this pause reclaims enough contiguous space for the allocation to succeed. Currently, the attempt to do a collection pause does not check whether the GC locker is active or not and, if it's active, it will keep attempting to do back-to-back collection pauses which will be unsuccessful. Instead, it should stall until the GC locker becomes inactive.

              tonyp Tony Printezis
              tonyp Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: