RFR(S): 8238713: [lworld] C2 compiled method triggers infinite number of uncommon traps for interface array store
Tobias Hartmann
tobias.hartmann at oracle.com
Wed Feb 12 15:33:21 UTC 2020
Hi,
please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8238713
http://cr.openjdk.java.net/~thartmann/8238713/webrev.00/
Type speculation in Parse::array_store_check() does not set the correct reason for the uncommon trap
and as a result, the too_many_traps check always retursn false leading to an infinite number of
deoptimizations and re-compilations. The problem was recently introduced by the aaload/aastore
profiling changes [1].
Thanks,
Tobias
[1] https://bugs.openjdk.java.net/browse/JDK-8234572
More information about the valhalla-dev
mailing list