RFR(S): 8223249: [s390] Cleanup TemplateInterpreterGenerator::generate_fixed_frame

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu May 2 15:48:56 UTC 2019


This looks familiar.  ppc added load_mirror_from_const_method().  I 
think it makes sense to add that to s390 also, and eventually we should 
add it and use it on the other platforms.

What do you think?
thanks,
Coleen

On 5/2/19 11:40 AM, Doerr, Martin wrote:
> Hi,
>
> I'd like to simplify and improve the s390 implementation of generate_fixed_frame.
> The current implementation of generate_fixed_frame unnecessarily reloads fields from memory. Most prominent is the reload of ConstMethod* (5 times).
> In addition, unneeded monitor space is allocated in the top frame. Space for monitors gets added on demand (lock_method uses add_monitor_to_stack).
> Also, implementation can get simplified by using MacroAssembler::Clear_Array.
>
> Please review:
> http://cr.openjdk.java.net/~mdoerr/8223249_s390_generate_fixed_frame/webrev.00/
>
> Best regards,
> Martin
>



More information about the hotspot-runtime-dev mailing list