RFR: Store AOT code in cached code region of AOT cache [v4]

Ashutosh Mehra asmehra at openjdk.org
Wed Feb 12 20:15:22 UTC 2025


On Wed, 12 Feb 2025 19:41:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Ashutosh Mehra has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
>> 
>>  - Review comments
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>>  - Fix compile faliure
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>>  - Merge branch 'premain' into store-aot-code-in-aot-cache
>>  - Map cached code region separately from the CodeCache
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>>  - Restore code that maps cached code region to CodeCache
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>>  - Store AOT code in cached code region of AOT cache
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>
> src/hotspot/share/code/SCCache.cpp line 554:
> 
>> 552:   if (_for_read) {
>> 553:     // Read cache
>> 554:     if (MmapCachedCode) {
> 
> I think you can drop `MmapCachedCode` flag as well.

right

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

PR Review Comment: https://git.openjdk.org/leyden/pull/39#discussion_r1953331234


More information about the leyden-dev mailing list