[aarch64-port-dev ] RFR: fix for crash caused by earlyret of compiled method

Andrew Haley aph at redhat.com
Wed Jun 14 16:28:20 UTC 2017


Hi,

On 14/06/17 16:58, Andrew Haley wrote:

> I think this might be correct for us:
> 
>   int size = overhead +
>              (callee_locals - callee_params) +
>              monitors * frame::interpreter_frame_monitor_size() +
>              is_top_frame ? max_stack : temps + extra_args;

or rather,

  int size = overhead +
             (callee_locals - callee_params) +
             monitors * frame::interpreter_frame_monitor_size() +
    (is_top_frame ? max_stack : temps + extra_args);


-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list