Erik Brangs <erik.brangs@gmx.de> wrote on 06/18/2012 11:53:57 AM:

> some Jikes RVM internal methods make assumptions about the number of
> stack frames above them, e.g. by using Magic.getCallerFramePointer to
> access other frames.
>
> Is there an easy (or non-hard) way to automatically determine if a given
> method makes such assumptions directly or indirectly?
>

Sorry to be late answering this.  If the code is correct, then any method that is making assumptions like this is supposed to be annotated with @NoInline.

(not all @NoInline methods are making this assumption, but any method making this assumption should be marked @NoInline).

--dave