uschindler commented on issue #12916: URL: https://github.com/apache/lucene/issues/12916#issuecomment-1864923856
Thanks. Maybe the OpenJ9 people can help how they reproduced. You can use `gradlew beast` instead of `gradlew test` to run the forked copies inside gradle. More looing into that code; I think the whole code here (and IndexWriter in general) should be freed of ancient "synchronized" blocks and synchronized blocks and should instead use the more modern Java synchronization patterns inclusive volatile / opaque reads and barriers. The problematic concurrency could for sure be solved with some better algorithm that allows to read lockfree and only write with locks (e.g., ReadWriteLock instead of synchronized). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org