vm stop question

dean.long at oracle.com dean.long at oracle.com
Fri Nov 30 20:13:24 UTC 2018


Saving all the registers probably isn't critical, because stop() isn't 
expect to return, like warning(), but would help crash analysis.
Saving the registers in a stub rather than inline would reduce waste in 
the code cache.

dl

On 11/30/18 8:22 AM, Dmitrij Pochepko wrote:
> Hi all,
>
> I look into MacroAssembler::stop method and see, that all platforms 
> except ppc are saving registers on stack. Is it a bug on ppc or
> is there a reason to save registers on stack there?
>
> This code is inlined in multiple places and wasting code cache. I'd 
> like to remove or reshape it to be less bulky on aarch64.
>
> Thanks,
> Dmitrij
>



More information about the hotspot-compiler-dev mailing list