--- old/src/hotspot/share/gc/parallel/psVirtualspace.cpp 2020-08-28 04:55:21.000000000 -0700 +++ new/src/hotspot/share/gc/parallel/psVirtualspace.cpp 2020-08-28 04:55:21.000000000 -0700 @@ -113,7 +113,7 @@ } char* const base_addr = committed_high_addr() - bytes; - bool result = special() || os::uncommit_memory(base_addr, bytes); + bool result = special() || os::uncommit_memory(base_addr, bytes, !ExecMem); if (result) { _committed_high_addr -= bytes; }