RFR: 8280481: Duplicated stubs to interpreter for static calls

Evgeny Astigeevich duke at openjdk.java.net
Wed Jun 8 16:24:45 UTC 2022


On Wed, 8 Jun 2022 16:19:40 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

>> src/hotspot/cpu/x86/x86_32.ad line 1816:
>> 
>>> 1814:                      rspec, RELOC_DISP32);
>>> 1815:       __ post_call_nop();
>>> 1816:       address mark = cbuf.insts_mark();
>> 
>> no need to init `address mark` here. 
>> `emit_to_interp_stub` can do it internally as it worked before
>
> It is need for `mark_off`. I'll move it there.

Or we can keep it and the code will be the same as in x86_64.ad.
What do you think?

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

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


More information about the hotspot-dev mailing list