RFR: 8280872: Reorder code cache segments to improve code density [v8]
Vladimir Kozlov
kvn at openjdk.java.net
Tue Mar 29 00:10:54 UTC 2022
On Mon, 28 Mar 2022 20:57:17 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Boris Ulasevich has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
>>
>> - Merge branch 'openjdk:master' into codecache_segments_order
>> - review findings: use instruction_size istead of raw constant, strengthen the assert, check alignment, move comments, segments order: profiled - non_method - non_profiled
>> - rename, adding test
>> - moving nops out of far_jump
>> - minor renaming
>> - review comments. remove far_call limit. undo trampoline-to-farcall. add trampoline_needs_far_jump func
>> - fix name: is_non_nmethod, adding target_needs_far_branch func
>> - change codecache segments order: nonprofiled-nonmethod-profiled
>> increase far jump threshold: sideof(codecache)=128M -> sizeof(nonprofiled+nonmethod)=128M
>
> test/hotspot/jtreg/compiler/c2/aarch64/TestFarJump.java line 41:
>
>> 39: * @requires vm.compiler2.enabled
>> 40: *
>> 41: * @run driver compiler.c2.TestFarJump
>
> Package name `compiler.c2.aarch64` is different from `compiler.c2.TestFarJump`.
> Got testing failure:
>
> java.lang.ClassNotFoundException: compiler.c2.TestFarJump
> at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
After I fixed test name I got next failure:
[Exception Handler]
0x0000fffe40140490: b3d5 9bd2 | 4201 80d2 | a4d5 9bd2 | a5d5 9bd2
----------System.err:(11/622)----------
java.lang.RuntimeException: ADRP instruction is expected on far jump
at compiler.c2.aarch64.TestFarJump.runVM(TestFarJump.java:112)
at compiler.c2.aarch64.TestFarJump.main(TestFarJump.java:126)
-------------
PR: https://git.openjdk.java.net/jdk/pull/7517
More information about the hotspot-dev
mailing list