RFR: 8273969: Memory Leak on the Lambda provided to Platform.startup

Tom Schindl tschindl at openjdk.java.net
Mon Sep 20 07:43:48 UTC 2021

On Sun, 19 Sep 2021 15:58:24 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> For the strange reason, why i haven't used a lambda for the test, I've created another ticket: https://bugs.openjdk.java.net/browse/JDK-8273970

I dpn't think this is a bug - none capturing lambdas are instantiated once and you reuse that instance for all time - the JLS allows this https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.27.4


PR: https://git.openjdk.java.net/jfx/pull/626

More information about the openjfx-dev mailing list