Request for review(XXS): 6962980 C1: stub area should take into account method handle deopt stub

Christian Thalinger christian.thalinger at oracle.com
Tue Aug 10 03:10:33 PDT 2010


On Tue, 2010-06-22 at 12:00 +0200, Christian Thalinger wrote:
> On Tue, 2010-06-22 at 02:40 -0700, Igor Veresov wrote:
> > We should reserve additional space in the code buffer for method handle 
> > deopt stub.
> > 
> > Webrev: http://cr.openjdk.java.net/~iveresov/6962980/webrev/
> 
> Good point.  That reminds me of something I wanted to do for C1 as I did
> for C2:  only emit the handler when it's really required.
> 
> C2 does this:
> 
>   if (has_method_handle_invokes())
>     total_req += deopt_handler_req;  // deopt MH handler
> 
> I should file a CR for that.

6975855: don't emit deopt MH handler in C1 if not required

-- Christian



More information about the hotspot-compiler-dev mailing list