mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8159620: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation on ppc64 and sparc
Reviewed-by: goetz, kvn, thartmann
This commit is contained in:
parent
9bea129ff7
commit
87f15c2bcf
4 changed files with 78 additions and 9 deletions
|
@ -3435,7 +3435,7 @@ void LIRGenerator::increment_event_counter_impl(CodeEmitInfo* info,
|
|||
__ load(counter, result);
|
||||
__ add(result, LIR_OprFact::intConst(InvocationCounter::count_increment), result);
|
||||
__ store(result, counter);
|
||||
if (notify) {
|
||||
if (notify && (!backedge || UseOnStackReplacement)) {
|
||||
LIR_Opr meth = LIR_OprFact::metadataConst(method->constant_encoding());
|
||||
// The bci for info can point to cmp for if's we want the if bci
|
||||
CodeStub* overflow = new CounterOverflowStub(info, bci, meth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue