src/hotspot/share/runtime/os.hpp
changeset 49968 33a76b934213
parent 49449 ef5d5d343e2a
child 49984 aa3afd9bda87
--- 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.