Safepoints at backward branches in c2

Gary Benson gbenson at redhat.com
Tue May 13 08:50:10 PDT 2008


steve goldman wrote:
> Gary Benson wrote:
> > Interesting.  Where should the safepoints be in calls?  I know
> > the C++ interpreter puts one before every return, but is there
> > somewhere else I should be putting one too?
> 
> Compiled code does them at returns just like the c++ interpreter.
> The c++ interpreter also has them at backbranches. It's in the 
> DO_BACKEDGE_CHECKS macro.

Cool, thanks.

Cheers,
Gary

-- 
http://gbenson.net/



More information about the hotspot-compiler-dev mailing list