comparison src/share/vm/code/nmethod.cpp @ 23704:8a7b88cb7f22

back port of JDK-8139379
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Jun 2016 15:41:01 +0200
parents b5f3a471e646
children
comparison
equal deleted inserted replaced
23703:9ac04c6047c8 23704:8a7b88cb7f22
2620 2620
2621 // When using JVMCI the address might be off by the size of a call instruction. 2621 // When using JVMCI the address might be off by the size of a call instruction.
2622 bool nmethod::is_deopt_entry(address pc) { 2622 bool nmethod::is_deopt_entry(address pc) {
2623 return pc == deopt_handler_begin() 2623 return pc == deopt_handler_begin()
2624 #if INCLUDE_JVMCI 2624 #if INCLUDE_JVMCI
2625 || pc == (deopt_handler_begin() + NativeCall::instruction_size) 2625 || (is_compiled_by_jvmci() && pc == (deopt_handler_begin() + NativeCall::instruction_size))
2626 #endif 2626 #endif
2627 ; 2627 ;
2628 } 2628 }
2629 2629
2630 #ifdef ASSERT 2630 #ifdef ASSERT