-
Bug
-
Resolution: Unresolved
-
P4
-
openjdk8u412
-
ppc
-
linux_ubuntu
In some versions of ppcle Linux (e.g. Ubuntu 1804), Test8009761 fails with this message:
-----
[2023-07-19T16:35:21.776Z] CompilerOracle: exclude Test8009761.m2
[2023-07-19T16:35:21.776Z] Failed: init recursive calls: 38. After deopt 37
-----
One solution to this could be to backport the fix created for JDK9 here: https://bugs.openjdk.org/browse/JDK-8021775
It appears that this fix was intended to be deferred until 8u20, and then backported. However, I don't see any indication that this was ever done.
If we don't feel the need to backport the full fix, we can resolve this problem by at least backporting the portion of the fix that increases the variance tolerance for the deopt value:
-----
// Allow number of recursive calls to vary by 1
if ((c1 < (count - 1)) || (c1 > (count + 1))) {
-----
Will create a commit shortly for review.
-----
[2023-07-19T16:35:21.776Z] CompilerOracle: exclude Test8009761.m2
[2023-07-19T16:35:21.776Z] Failed: init recursive calls: 38. After deopt 37
-----
One solution to this could be to backport the fix created for JDK9 here: https://bugs.openjdk.org/browse/JDK-8021775
It appears that this fix was intended to be deferred until 8u20, and then backported. However, I don't see any indication that this was ever done.
If we don't feel the need to backport the full fix, we can resolve this problem by at least backporting the portion of the fix that increases the variance tolerance for the deopt value:
-----
// Allow number of recursive calls to vary by 1
if ((c1 < (count - 1)) || (c1 > (count + 1))) {
-----
Will create a commit shortly for review.
- relates to
-
JDK-8021775 compiler/8009761/Test8009761.java "Failed: init recursive calls: 51. After deopt 50"
- Resolved
- links to
-
Review openjdk/jdk8u-dev/487