G1 mark stack is allocated manually using VirtualSpace methods

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc

      In G1CMMarkStack::allocate, the mark stack memory is allocated using VirtualSpace memory methods.

      Change this code to use an ArrayAllocator, reducing the code size significantly.

      Also add (optional) pre-touching.

            Assignee:
            Unassigned
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: