Protect the memory of G1 regions on the free list

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc

      When a G1 heap region is added to the free list (in G1CollectedHeap::free_region), then we should have a way to set the memory protection for the region to PROT_NONE. This can be done with a call to os::protect_memory. The tricky part is to make sure we set the protection back to PROT_RW once the region becomes used again.

            Assignee:
            Unassigned
            Reporter:
            Erik Helin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: