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

G1: Reuse committed space when marking stack expansion fails

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • hs25
    • hotspot
    • None
    • gc

      The changes for 8000244 make the size of the global marking stack dependent upon the number of marking threads. It also added the capability to expand the marking stack in the event that concurrent marking overflowed the marking stack.

      One of the code review comments was to reuse the previously committed/reserved space for the marking stack in the event that the expansion code fails to reserve or commit the new space rather than just abort. It is not a fatal error to reuse the previously committed space - marking will make progress albeit sub-optimally.

            Unassigned Unassigned
            johnc John Cuthbertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: