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.
- is blocked by
-
JDK-8071913 Filter out entries to free/uncommitted regions during iteration
- Resolved