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

tiered may collect wrong receiver type at virtual call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • hs25
    • hotspot
    • b02

        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.

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

                Created:
                Updated:
                Resolved: