Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8330973

Test8009761 fails on ppcle_linux: init recursive calls: 38. After deopt 37

XMLWordPrintable

    • 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.

            afarley Adam Farley
            afarley Adam Farley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: