On Tue, 12 May 2026 13:00:07 GMT, Per Minborg <[email protected]> wrote:
> This PR proposes to replace older `Collection.unmodifiable` wrappers with > `Set.of()` instead. This can improve performance, reduce footprint, and > reduce maintenance. There is also occasional use of `Map.of()` in nearby > places where `Set.of()` was introduced. > > The PR also contains two optimizations in `PlatformMBeanProviderImpl` that > remove `synchronized` from two methods. > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). [8564b1e](https://github.com/openjdk/jdk/pull/31135/commits/8564b1e04f02c6c9419d8f3ca04a523d1d0aac96) passes the following tests on multiple platforms: - [X] tier1 - [X] tier2 - [X] tier3 - [X] tier4 ------------- PR Comment: https://git.openjdk.org/jdk/pull/31135#issuecomment-4442724562
