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

Replacement of ThreadHints.onSpinWait by Thread. #1713

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

pveentjer
Copy link
Contributor

@pveentjer pveentjer commented Jan 14, 2025

The ThreadHints class in Agrona has been deprecated and all call to ThreadHints.onSpinWait have been replaced by Thread.onSpinWait.

For more info see:

real-logic/agrona#312

Comment on lines 1919 to 1923
System.out.println("SessionId: " + sessionId +
" streamId:" + streamId +
" initialTermId:" + initialTermId +
" mtuLength:" + mtuLength);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug code for Aeron insights. I already removed it.

The ThreadHints class in Agrona has been deprecated and
all call to ThreadHints.onSpinWait have been replaced by
Thread.onSpinWait.
@pveentjer pveentjer force-pushed the cleanup/ThreadHints-removal branch from e4d59ba to 789deab Compare January 14, 2025 13:16
@vyazelenko vyazelenko merged commit a20af32 into real-logic:master Jan 14, 2025
36 of 37 checks passed
@pveentjer pveentjer deleted the cleanup/ThreadHints-removal branch January 14, 2025 15:21
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.

2 participants