diff -r 672ded60a082 -r 33a76b934213 src/hotspot/share/runtime/os.hpp --- a/src/hotspot/share/runtime/os.hpp Thu May 03 14:10:08 2018 +0200 +++ b/src/hotspot/share/runtime/os.hpp Thu May 03 08:07:20 2018 -0400 @@ -273,6 +273,10 @@ static void map_stack_shadow_pages(address sp); static bool stack_shadow_pages_available(Thread *thread, const methodHandle& method, address sp); + // Find committed memory region within specified range (start, start + size), + // return true if found any + static bool committed_in_range(address start, size_t size, address& committed_start, size_t& committed_size); + // OS interface to Virtual Memory // Return the default page size.