RFR (XS): 8139675: Record C2 compilation of unexpectedly large methods as a failure instead of crashing

Christian Thalinger christian.thalinger at oracle.com
Fri Oct 16 22:23:50 UTC 2015


> On Oct 16, 2015, at 7:14 AM, S. Bharadwaj Yadavalli <bharadwaj.yadavalli at oracle.com> wrote:
> 
> I'd like to request for a review of the change at [2] to address [1].
> 
> This changes a method size assertion during compilation to record compilation failure and return gracefully.

I don’t know the history here or anything about that assert, really.  One thing we have to think about is this enhancement changes product behavior.  Before the compilation was successful (was it?) and now it fails.

> 
> Thanks,
> 
> Bharadwaj
> 
> [1] https://bugs.openjdk.java.net/browse/JDK-8139675
> [2] http://cr.openjdk.java.net/~bharadwaj/8139675/webrev/



More information about the hotspot-compiler-dev mailing list