hotspot/src/share/vm/code/compiledMethod.cpp
changeset 39430 ab7acda033f4
parent 38133 78b95467b9f1
child 42040 70ec5a09a0d5
equal deleted inserted replaced
39429:2c9cde29cd3f 39430:ab7acda033f4
    61 
    61 
    62 // When using JVMCI the address might be off by the size of a call instruction.
    62 // When using JVMCI the address might be off by the size of a call instruction.
    63 bool CompiledMethod::is_deopt_entry(address pc) {
    63 bool CompiledMethod::is_deopt_entry(address pc) {
    64   return pc == deopt_handler_begin()
    64   return pc == deopt_handler_begin()
    65 #if INCLUDE_JVMCI
    65 #if INCLUDE_JVMCI
    66     || pc == (deopt_handler_begin() + NativeCall::instruction_size)
    66     || (is_compiled_by_jvmci() && pc == (deopt_handler_begin() + NativeCall::instruction_size))
    67 #endif
    67 #endif
    68     ;
    68     ;
    69 }
    69 }
    70 
    70 
    71 // Returns a string version of the method state.
    71 // Returns a string version of the method state.