branch | stuefe-new-metaspace-branch |
changeset 58063 | bdf136b8ae0e |
parent 58048 | 8009a9c36251 |
child 58107 | 69c38b90014c |
--- a/src/hotspot/share/runtime/os.hpp Tue Sep 10 14:52:53 2019 +0800 +++ b/src/hotspot/share/runtime/os.hpp Tue Sep 10 09:24:05 2019 +0200 @@ -416,6 +416,8 @@ static void make_polling_page_readable(); // Check if pointer points to readable memory (by 4-byte read access) + // !! Unreliable before VM initialization! Use CanUseSafeFetch32() to test + // if this function is reliable !! static bool is_readable_pointer(const void* p); static bool is_readable_range(const void* from, const void* to);