RFR: 8357258: x86: Improve receiver type profiling reliability [v3]

Aleksey Shipilev shade at openjdk.org
Wed Nov 26 10:41:00 UTC 2025


On Thu, 20 Nov 2025 20:47:07 GMT, John R Rose <jrose at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
>> 
>>  - Merge branch 'master' into JDK-8357258-x86-c1-optimize-virt-calls
>>  - Merge branch 'master' into JDK-8357258-x86-c1-optimize-virt-calls
>>  - Drop atomic counters
>>  - Initial version
>
> src/hotspot/cpu/x86/interp_masm_x86.cpp line 524:
> 
>> 522:   LP64_ONLY(assert(Rsub_klass != r13, "r13 holds bcp");)
>> 523:   assert(Rsub_klass != rcx, "rcx holds 2ndary super array length");
>> 524:   assert(Rsub_klass != rdi, "rdi holds 2ndary super array scan ptr");
> 
> I think you can kill this assert as well; rdi is no longer relevant to this function.

Right. Killed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25305#discussion_r2564466483


More information about the hotspot-compiler-dev mailing list