On Mon, 21 Aug 2023 06:48:18 GMT, David Holmes <dhol...@openjdk.org> wrote:
> How long is the file-lock typically held? How many such tests can run > concurrently? And how long do we retry for? It's typically the sync method when writing back the cached changes. I suspect the Unix implementation could be easily re-written to use FileChannel and Files.setPosixFilePermissions and that would eliminate the native code and give better exception messages when there are errors. For the tests, I'm surprised the TEST.properties in this directory doesn't have exclusiveAccess.dirs=. as there has been historical issues with interference between tests in this area. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1685778195