Withdrawn: 8253049: Enhance itable_stub for AArch64 and x86_64
kuaiwei
github.com+1981974+kuaiwei at openjdk.java.net
Tue Nov 10 21:29:04 UTC 2020
On Fri, 11 Sep 2020 11:58:34 GMT, kuaiwei <github.com+1981974+kuaiwei at openjdk.org> wrote:
> Now itable_stub will go through instanceKlass's itable twice to look up a method entry. resolved klass is used for type checking and method holder klass is used to find method entry. In many cases , we observed resolved klass is as same as holder klass. So we can improve itable stub based on it. If they are same klass, stub uses a fast loop to check only one klass. If not, a slow loop is used to checking both klasses.
>
> Even entering in slow loop, new implementation can be better than old one in some cases. Because new stub just need go through itable once and reduce memory operations.
>
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8253049
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/128
More information about the hotspot-dev
mailing list