Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z: Replace Thread.onSpinWait() with a nop instruction #20673

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ehsankianifar
Copy link
Contributor

Accelerate inlining Thread.onSpinWait() on z.
Thread.onSpinWait() is a simple nop instruction on z. Enabled by default. Disable by setting the TR_noPauseOnSpinWait environment variable.

Accelerate inlining Thread.onSpinWait() on z.
Thread.onSpinWait() is a simple `nop` instruction on z.
Enabled by default. Disable by setting the `TR_noPauseOnSpinWait`
environment variable.

Signed-off-by: Ehsan Kiani Far <[email protected]>
@ehsankianifar ehsankianifar marked this pull request as draft November 22, 2024 21:48
Fix comp issue
@ehsankianifar ehsankianifar force-pushed the Z_Replace-Thread.onSpinWait()-with-a-NOP-instruction branch from 926799a to d8df535 Compare November 22, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant