RFR: 8280872: Reorder code cache segments to improve code density [v2]
Boris Ulasevich
bulasevich at openjdk.java.net
Thu Mar 3 12:12:02 UTC 2022
On Wed, 2 Mar 2022 15:14:57 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:
>> Yes. In fact the function is used for non-method code calls only. I put an assert here to be check this fact for future code updates.
>
> I don't understand why we should restrict uses of `far_call` to calls of non-nmethod code. Could you please explain this?
I wanted to avoid the untested code paths.
You are right. Let me change it to work the same way with far_jump impl: if (target_needs_far_branch)..
-------------
PR: https://git.openjdk.java.net/jdk/pull/7517
More information about the hotspot-dev
mailing list