src/share/vm/gc_implementation/shared/mutableSpace.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File linux-numa-bad-mmap Cdiff src/share/vm/gc_implementation/shared/mutableSpace.cpp

src/share/vm/gc_implementation/shared/mutableSpace.cpp

Print this page

        

*** 49,59 **** HeapWord *end = (HeapWord*)round_down((intptr_t) mr.end(), page_size); if (end > start) { size_t size = pointer_delta(end, start, sizeof(char)); if (clear_space) { // Prefer page reallocation to migration. ! os::free_memory((char*)start, size); } os::numa_make_global((char*)start, size); } } } --- 49,59 ---- HeapWord *end = (HeapWord*)round_down((intptr_t) mr.end(), page_size); if (end > start) { size_t size = pointer_delta(end, start, sizeof(char)); if (clear_space) { // Prefer page reallocation to migration. ! os::free_memory((char*)start, size, page_size); } os::numa_make_global((char*)start, size); } } }
src/share/vm/gc_implementation/shared/mutableSpace.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File