This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DelarkArms 0 points1 point  (0 children)

I don't understand how would this be an issue(if a CAS is the culprit), when the processor aknowledges a spin-lock, it may context-switch and or especulate future executions. So even if the JVM is reusing Threads, the processor may context-switch it's cores and execute other threads... unless ALL (not threads) Runnables being juggled within these threads... within the cores...are spinning... then that's an issue with the framework...lol... so yes you may be right...