git: openjdk/jdk: 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor

Alan Bateman alanb at openjdk.org
Sat Feb 25 07:51:08 UTC 2023


Changeset: 2e78d838
Author:    Alan Bateman <alanb at openjdk.org>
Date:      2023-02-25 07:48:57 +0000
URL:       https://git.openjdk.org/jdk/commit/2e78d838a5e55e3ef68bc8df2b40615e8bdb0389

8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor

Reviewed-by: rriggs, martin, dfuchs, bchristi

! src/java.base/share/classes/java/util/concurrent/Executors.java
! test/jdk/java/util/concurrent/Executors/AutoShutdown.java



More information about the jdk-changes mailing list