[aarch64-port-dev ] RFR: 8075930: AARCH64: Use FP Register in C2

Andrew Haley aph at redhat.com
Thu Apr 9 17:55:40 UTC 2015


On 04/09/2015 06:32 PM, Vladimir Kozlov wrote:
> Can you explain what this code does (there is not comment):
> 
>    80 #ifndef PRODUCT
>    81   if (fp)
>    82     if (sp > fp || (fp - sp > 0x100000))
>    83       for(;;)
>    84         asm("nop");
>    85 #endif

It's mine.  It's a simple sanity check I put in way before the dawn of
time which allows a debugger to be attached to see a corrupt stack..
It was tremendously useful.  It can go if it's no longer needed.

Andrew.


More information about the aarch64-port-dev mailing list