RFR: 8342967: Lambda deduplication fails with non-metafactory BSMs and mismatched local variables names [v5]
Jan Lahoda
jlahoda at openjdk.org
Thu Oct 31 17:51:30 UTC 2024
On Wed, 30 Oct 2024 21:57:45 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> corpus jobs finished, mostly same results for both jobs one with and one without this patch. Of a total of ~23940 lambdas, none of them were deduplicated. This is a bit surprising tbh. It could be that most artifacts (all?) are generated with debug information. But still it seems like the benefit of this feature is marginal
Maybe not so surprising. I believe the default for javac is `-g:lines`, which disables the de-duplication. So, it would actually require the builds to explicitly use `-g:none`, which is probably not very common.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21687#issuecomment-2450477797
More information about the compiler-dev
mailing list