RFR: JDK-8223322: Improve concurrency in jpackage instances

Andy Herrick herrick at openjdk.java.net
Fri Dec 18 15:03:23 UTC 2020


On Thu, 17 Dec 2020 23:26:44 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> 
> 
> I'd propose to update the test to run more that two concurrent instance of jpackage command.

yes - I'm planning for a lot more in next revision, your suggestion to use only PackageTest.Action.CREATE will go a long way to making that possible, but I have had problems with test infrastructure fixing the workDir based on test class and method, and then getting IOExceptions as various PackageTest's try to write the same content to the same work dir.  I need to create infrastructure to allow each PackageTest to operate on separate workDir.

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

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


More information about the core-libs-dev mailing list