RFR: 8255397: x86: coalesce reference and int entry points into vtos bytecodes [v3]
Coleen Phillimore
coleenp at openjdk.java.net
Wed Oct 28 14:06:48 UTC 2020
On Wed, 28 Oct 2020 11:25:58 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> On x86 - both 32- and 64-bit - the code laid out for transitionining into a vtos bytecode when having a reference and int top-of-stack state is semantically identical, and can be coalesced.
>>
>> This patch removes a short jump on some cases which is marginally beneficial when interpreting, while measurably reducing overhead of generating the interpreter itself.
>
> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>
> Use push directly in push_i_or_ptr
Yes that was a good suggestion @shipilev and the change looks much better to me now. Thanks!
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/865
More information about the hotspot-dev
mailing list