RFR: JDK-8223322: Improve concurrency in jpackage instances

Andy Herrick herrick at openjdk.java.net
Fri Dec 18 14:53:25 UTC 2020


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

>> Changes requested by asemenyuk (Committer).
>
> I'd propose to update the test to run more that two concurrent instance of jpackage command.

> 
> 
> Changes looks fine, but are we sure that external 3rd party tools used by jpackage will work concurrently without any issues?

I don't think we can be sure of thread-safe behavior of the third party tools, the best thing we can do is thoroughly test (as requested below, run a lot more instances simultaneously).  Main thing we are implementing and testing is that jpackage code itself is thread safe.

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

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


More information about the core-libs-dev mailing list