On Thu, 17 Sep 2020 07:45:52 GMT, Goetz Lindenmaier <go...@openjdk.org> wrote:
>> Marked as reviewed by goetz (Reviewer). > > Reviewed in the good old hg times :) > See also > http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-August/041453.html src/hotspot/share/opto/macro.cpp: @@ -1091,11 +1091,11 @@ bool PhaseMacroExpand::eliminate_allocate_node(AllocateNode *alloc) { // Don't do scalar replacement if the frame can be popped by JVMTI: // if reallocation fails during deoptimization we'll pop all // interpreter frames for this compiled frame and that won't play // nice with JVMTI popframe. - if (!EliminateAllocations || JvmtiExport::can_pop_frame() || !alloc->_is_non_escaping) { + if (!EliminateAllocations || !alloc->_is_non_escaping) { return false; } I wonder if the comment is still correct after you removed the check for JvmtiExport::can_pop_frame(). ------------- PR: https://git.openjdk.java.net/jdk/pull/119