On Mon, 19 Oct 2026 22:24:09 GMT, Serguei Spitsyn <[email protected]> wrote:
> Q1: Does this name comparison have a race with the log rotation mechanism? Is > there a need in synchronization? Thanks very much, Serguei. I reproduced the failed matches with one thread calling `force_rotate()` and another calling `matches_name()` with a path alias. The test passes after adding `RotationLocker lock(_rotation_semaphore)` around the `os::same_files()` call. I've updated the patch. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33090#issuecomment-6314184851
