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

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

    XMLWordPrintable

Details

    • b26
    • ppc

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: