On Mon, 17 Oct 2022 06:37:24 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

> Looking at the existing code (without the proposed changes in this PR), it 
> appears that it's not just the number of `moduleInfos` that could impact the 
> method size but even details like `requires`, `exports`, `opens` and other 
> such details, since we loop over each of these details to construct the 
> method body.

That's right and we may have to do further work in the future to avoid 
generating methods larger than 64k. The approach taken in this PR is okay for 
now but the current patch needs a bit more work to generate correct code.

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

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

Reply via email to