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

tiered may collect wrong receiver type at virtual call

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b02

      Backports

        Description

        With this class hierarchy:
            static class A {
                void m() {}
            }

            static class B extends A {
            }

        and this java code:
        A a
        a.m();

        the profile that is collected for the receiver is A if even a is really a B.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roland Roland Westrelin
                Reporter:
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: