Failing typeflow responsibility assertions

John Rose John.Rose at Sun.COM
Thu May 22 11:02:35 PDT 2008


On May 22, 2008, at 2:17 AM, Gary Benson wrote:

> So the 'assert(will_link, "typeflow responsibility")' bits aren't
> being hit because the typeflow pass bails out?  (ie env()->failing()
> returns true?)  Will the compile broker retry the compilation later?

No, typeflow ends such a block with a "trap".  (If we bailed out on  
every unloaded class, we'd almost never compile anything.)  A trap is  
like a branch to the interpreter (deopt).  The parser is responsible  
for respecting those trap markings.  A basic block that ends in a  
trap never gets (in compiled code) to the branch or return that ends  
the basic block in the bytecodes.

-- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20080522/748d3bff/attachment.html 


More information about the hotspot-compiler-dev mailing list