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

ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity

XMLWordPrintable

    • b26
    • ppc

        While looking at JDK-8261837, I noticed this ppc code:

            andi_(R0, klass, TypeEntries::type_unknown);
            // Already unknown. Nothing to do anymore.

        however, "klass" here should have all low bits set to 0. The code seems to need "tmp" here instead, which is the value from the profiling data slot.

        Failing this check looks mostly harmless, but it is a missed optimization.

              mdoerr Martin Doerr
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: