On Tue, 8 Apr 2025 14:47:04 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> This PR proposes to use an anonymous class rather than a lambda in order to > improve startup time. > > We need to make sure the regression is fixed by this. It might be the case > that the regression is there because > [JDK-8347047](https://bugs.openjdk.org/browse/JDK-8347047) actually fixed an > issue so that the segments could be collected by the GC. This pull request has now been integrated. Changeset: c3e04395 Author: Per Minborg <pminb...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/c3e043956e72996a56a7ae9822782ba4dfdc0607 Stats: 13 lines in 1 file changed: 10 ins; 0 del; 3 mod 8354121: Use a record class rather than a lambda in AbstractMemorySegmentImpl::cleanupAction Reviewed-by: liach ------------- PR: https://git.openjdk.org/jdk/pull/24514