On Mon, 21 Aug 2023 07:14:28 GMT, Alan Bateman <al...@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.

Hi Alan, should we maybe add this ?  If so in this change on in another one ?

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

PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1687654412

Reply via email to