Skip to content
Permalink
Browse files
-
  • Loading branch information
pron committed Mar 30, 2021
1 parent c174264 commit 1705408ae6a7fa8e240671d9113cca921ee19aaf
Showing 1 changed file with 1 addition and 4 deletions.
@@ -630,15 +630,12 @@ void StackChunkFrameStream<mixed>::handle_deopted() const {

if (_oopmap != nullptr) return;
if (mixed && is_interpreted()) return;

assert (is_compiled(), "");

address pc1 = pc();
int oopmap_slot = CodeCache::find_oopmap_slot_fast(pc1);
if (UNLIKELY(oopmap_slot < 0)) { // we could have marked frames for deoptimization in thaw_chunk
// tty->print_cr(">>>> handle_deopted: deopted");
CompiledMethod* cm = cb()->as_compiled_method();
if (cm->is_deopt_pc(pc1)) {
if (cb()->as_compiled_method()->is_deopt_pc(pc1)) {
pc1 = orig_pc();
oopmap_slot = CodeCache::find_oopmap_slot_fast(pc1);
}

0 comments on commit 1705408

Please sign in to comment.