< prev index next >

src/hotspot/share/gc/parallel/psVirtualspace.cpp

Print this page

        

@@ -111,11 +111,11 @@
   if (committed_size() < bytes) {
     return false;
   }
 
   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;
   }
 
   return result;
< prev index next >