< prev index next >

src/os/windows/vm/os_windows.cpp

Print this page

        

*** 3099,3108 **** --- 3099,3113 ---- reserve_memory(size - split, base + split); } } } + char* os::reserve_memory_with_backing_file(size_t bytes, char* addr, size_t alignment_hint, const char* backingFile) { + VMError::report_and_die("Allocating object heap with backing file is not supported for Windows"); + return NULL; + } + // Multiple threads can race in this code but it's not possible to unmap small sections of // virtual space to get requested alignment, like posix-like os's. // Windows prevents multiple thread from remapping over each other so this loop is thread-safe. char* os::reserve_memory_aligned(size_t size, size_t alignment) { assert((alignment & (os::vm_allocation_granularity() - 1)) == 0,
< prev index next >