AW: Create OpenJDK without "code too large".
Pascal Kesseli
pkesseli at outlook.com
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?
Thanks,
Pascal
-----Ursprüngliche Nachricht-----
Von: Andrew Haley [mailto:aph at redhat.com]
Gesendet: 19 September 2014 16:27
An: Pascal Kesseli; discuss at openjdk.java.net
Betreff: Re: Create OpenJDK without "code too large".
Hi,
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.
Andrew.
More information about the discuss
mailing list