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

Protect the memory of G1 regions on the free list

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: