RFR: JDK-8223322: Improve concurrency in jpackage instances

Alexey Semenyuk asemenyuk at openjdk.java.net
Thu Dec 17 23:33:01 UTC 2020


On Thu, 17 Dec 2020 20:46:50 GMT, Andy Herrick <herrick at openjdk.org> wrote:

> Remove all non final static variables in jpackage java code (using InheritableThreadLocal for Logger and Argument instances) and remove sychronization in JPackageToolProvider.

test/jdk/tools/jpackage/share/ConcurrentTest.java line 68:

> 66: 
> 67:         cmd1.useToolProvider(false);
> 68:         cmd1.useToolProvider(false);

Shouldn't this be `cmd2`?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1829


More information about the core-libs-dev mailing list