uschindler commented on issue #15079: URL: https://github.com/apache/lucene/issues/15079#issuecomment-3197274207
I have the feeling this is caused by this lambda: https://github.com/apache/lucene/blob/f0483d3ce99e56ffbe433fc655c16e0bb5d760c2/lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java#L457 The problem with MemorySegments is: all code is backed by VarHandles and this could quickly cause wrong inlining decissions as all of this code relies on correct inlining. Looks like a VM bug. I'd suggest to reverr the above PR and check again. It looks like it does not works well perfectly with the current code in MMapDir. The code there is a bit tricky but relies stronly on correct inlining, especially regarding that specific lambda. Uwe -- 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