src/cpu/x86/vm/assembler_x86.cpp

changeset 3314
59bc0d4d9ea3
parent 3137
e6b1331a51d2
child 3341
96ce4c27112f
child 3388
127b3692c168
equal deleted inserted replaced
3313:a04a201f0f5a 3314:59bc0d4d9ea3
3533 3533
3534 // Check if the polling page is not reachable from the code cache using rip-relative 3534 // Check if the polling page is not reachable from the code cache using rip-relative
3535 // addressing. 3535 // addressing.
3536 bool Assembler::is_polling_page_far() { 3536 bool Assembler::is_polling_page_far() {
3537 intptr_t addr = (intptr_t)os::get_polling_page(); 3537 intptr_t addr = (intptr_t)os::get_polling_page();
3538 return !is_simm32(addr - (intptr_t)CodeCache::low_bound()) || 3538 return ForceUnreachable ||
3539 !is_simm32(addr - (intptr_t)CodeCache::low_bound()) ||
3539 !is_simm32(addr - (intptr_t)CodeCache::high_bound()); 3540 !is_simm32(addr - (intptr_t)CodeCache::high_bound());
3540 } 3541 }
3541 3542
3542 void Assembler::emit_data64(jlong data, 3543 void Assembler::emit_data64(jlong data,
3543 relocInfo::relocType rtype, 3544 relocInfo::relocType rtype,

mercurial