diff src/share/vm/memory/allocation.inline.hpp @ 10221:c18152e0554e

8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check Summary: Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it Reviewed-by: acorn, coleenp
author zgu
date Mon, 06 May 2013 11:15:13 -0400
parents 746b070f5022
children f9be75d21404
line wrap: on
line diff
--- a/src/share/vm/memory/allocation.inline.hpp	Fri May 03 15:51:16 2013 -0700
+++ b/src/share/vm/memory/allocation.inline.hpp	Mon May 06 11:15:13 2013 -0400
@@ -132,7 +132,7 @@
   int alignment = os::vm_allocation_granularity();
   _size = align_size_up(_size, alignment);
 
-  _addr = os::reserve_memory(_size, NULL, alignment);
+  _addr = os::reserve_memory(_size, NULL, alignment, F);
   if (_addr == NULL) {
     vm_exit_out_of_memory(_size, OOM_MMAP_ERROR, "Allocator (reserve)");
   }