AW: Create OpenJDK without "code too large".

Pascal Kesseli pkesseli at
Fri Sep 19 15:36:42 UTC 2014

Hi Andrew,

Thanks for your quick response. Is it merely a formal limit or is it
actually necessary, given the way the VM is currently implemented? Could I,
with reasonable effort, remove the limit from both VM and compiler?


-----Ursprüngliche Nachricht-----
Von: Andrew Haley [mailto:aph at] 
Gesendet: 19 September 2014 16:27
An: Pascal Kesseli; discuss at
Betreff: Re: Create OpenJDK without "code too large".


On 09/19/2014 04:20 PM, Pascal Kesseli wrote:
> I am trying to create a Java compiler from OpenJDK 8 which ignores 
> "compiler.err.limit.code" and 
> "compiler.err.limit.code.too.large.for.try.stmt" errors. I understand 
> there is no flag in javac to disable this - is there a way to remove 
> them from the OpenJDK source, such that methods with more instructions
will compile?

Not really.  The code size is a VM limitation.


More information about the discuss mailing list