Withdrawn: 8285487: Do not generate trampolines for runtime calls if they are not needed
duke
duke at openjdk.org
Wed Jun 29 12:30:48 UTC 2022
On Tue, 26 Apr 2022 16:14:44 GMT, Evgeny Astigeevich <duke at openjdk.org> wrote:
> [JDK-8280872](https://bugs.openjdk.java.net/browse/JDK-8280872) put the non-nmethod segment between two others. It made trampolines for runtime calls redundant in most cases.
>
> This PR uses `target_needs_far_branch()` for runtime calls to check whether they need trampolines. Trampolines are not generated if they are not needed.
>
> Testing:
> - `tier1`...`tier4`: Passed
> - `compiler/c2/aarch64/TestTrampoline.java`: Passed
>
> Note: `compiler/c2/aarch64/TestTrampoline.java` requires the release build. This is because debug builds have the branch range set to 2M which causes always generation of trampolines.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/8403
More information about the hotspot-dev
mailing list