equal
deleted
inserted
replaced
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 |