RFR: 8256757: Incorrect MachCallRuntimeNode::ret_addr_offset() for CallLeafNoFP on x86_32

Aleksey Shipilev shade at openjdk.java.net
Thu Nov 26 14:09:56 UTC 2020


On Thu, 26 Nov 2020 14:03:34 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> How about replacing '5' with 'NativeCall::instruction_size' and also keeping the code generation order like this:
> return pre_call_resets_size() + (_leaf_no_fp ? 0 : sizeof_FFree_Float_Stack_All) + NativeCall::instruction_size;

New style follows what is done for `MachCallDynamicJavaNode` and `MachCallStaticJavaNode`. I'd prefer to make this a targeted fix not to risk more regressions.

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

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


More information about the hotspot-compiler-dev mailing list