RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v6]

Alan Bateman alanb at openjdk.org
Tue Dec 6 16:48:38 UTC 2022


On Mon, 5 Dec 2022 21:38:20 GMT, Oliver Kopp <duke at openjdk.org> wrote:

>> Fix for [JDK-8240567](https://bugs.openjdk.org/browse/JDK-8240567): "MethodTooLargeException thrown while creating a jlink image".
>> 
>> Java still has a 64kb limit: A method may not be longer than 64kb. The idea of the fix is to split up the generated methods in several smaller methods
>
> Oliver Kopp has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Refine test
>   
>   Co-authored-by: Christoph <siedlerkiller at gmail.com>

Would it be possible to paste in a summary on the VerifyError with the previous iteration? If I read the latest update then the limit per helper method has been bump to avoid it, is that right?

-------------

PR: https://git.openjdk.org/jdk/pull/10704


More information about the core-libs-dev mailing list