Safepoints at backward branches in c2

steve goldman Steve.Goldman at Sun.COM
Tue May 13 07:33:54 PDT 2008


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.

-- 
Steve



More information about the hotspot-compiler-dev mailing list