src/hotspot/share/runtime/os.hpp
branchstuefe-new-metaspace-branch
changeset 58063 bdf136b8ae0e
parent 58048 8009a9c36251
child 58107 69c38b90014c
equal deleted inserted replaced
58062:65cad575ace3 58063:bdf136b8ae0e
   414   static bool    is_poll_address(address addr)  { return addr >= _polling_page && addr < (_polling_page + os::vm_page_size()); }
   414   static bool    is_poll_address(address addr)  { return addr >= _polling_page && addr < (_polling_page + os::vm_page_size()); }
   415   static void    make_polling_page_unreadable();
   415   static void    make_polling_page_unreadable();
   416   static void    make_polling_page_readable();
   416   static void    make_polling_page_readable();
   417 
   417 
   418   // Check if pointer points to readable memory (by 4-byte read access)
   418   // Check if pointer points to readable memory (by 4-byte read access)
       
   419   // !! Unreliable before VM initialization! Use CanUseSafeFetch32() to test
       
   420   //    if this function is reliable !!
   419   static bool    is_readable_pointer(const void* p);
   421   static bool    is_readable_pointer(const void* p);
   420   static bool    is_readable_range(const void* from, const void* to);
   422   static bool    is_readable_range(const void* from, const void* to);
   421 
   423 
   422   // threads
   424   // threads
   423 
   425