uschindler commented on issue #13325:
URL: https://github.com/apache/lucene/issues/13325#issuecomment-2085320446

   They identified that deoptimizations are indeed the cause of all this. When 
you trigger a thread-local handshake by closing an IndexInput, all code in 
other threads which runs at the same time and accessing memory segments gets 
deoptimized somehow. I have no idea how it enters optimized mode again, but 
this seems to cause the slowdown for that benchamrk.
   
   I am not sure if we can open issues about this in OpenJDK to optimize this. 
Why does the code need to be deoptimized when we enter a safepoint/handshake? 
It just traps with a segv and enters safepoint.


-- 
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

Reply via email to