RFR: 8280872: Reorder code cache segments to improve code density [v6]

Evgeny Astigeevich duke at openjdk.java.net
Fri Mar 18 13:01:34 UTC 2022


On Fri, 18 Mar 2022 10:23:12 GMT, Volker Simonis <simonis at openjdk.org> wrote:

>> Boris Ulasevich has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   rename, adding test
>
> src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp line 399:
> 
>> 397:   }
>> 398:   // codecache size: 128M..240M
>> 399:   return !CodeCache::is_non_nmethod(addr);
> 
> Is it possible to further refine this to also catch calls from C1 to C1 and C2 to C2 which obviously wouldn't need a far call as well?

I believe they should be our next steps to guarantee we don't generate redundant code for such cases.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7517


More information about the hotspot-dev mailing list