On Wed, 8 May 2024 18:32:42 GMT, Chen Liang <li...@openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove redundant constructor > > src/java.base/share/classes/jdk/internal/util/ReferencedKeySet.java line 84: > >> 82: */ >> 83: public static <E> Supplier<Map<ReferenceKey<E>, ReferenceKey<E>>> >> concurrentHashMapSupplier() { >> 84: return new Supplier<>() { > > Can this just `return ReferencedKeyMap.concurrentHashMapSupplier();`? It compiles, so maybe. :-) Running some tests. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19140#discussion_r1594703469