RFR (S): 8218758: [TESTBUG] compiler/cha/StrengthReduceInterfaceCall.java misses recompilation event
vladimir.x.ivanov at oracle.com
Tue Feb 12 22:07:09 UTC 2019
The test checks that nmethod has been invalidated by ensuring there's no
nmethod installed at the moment. But it's not robust enough: it is
possible that JVM initiates compilation before the check happens.
The fix is to harden the logic to additionaly check that if there's
nmethod installed it differs from the one observed earlier.
Testing: hs-precheckin-comp, tier1-5
More information about the hotspot-compiler-dev