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

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Jun 22 03:00:45 PDT 2010


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.

-- Christian



More information about the hotspot-compiler-dev mailing list