Skip to content

(0.54) Add notify to carrier thread wait path #22355

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

Merged
merged 2 commits into from
Aug 6, 2025

Conversation

tajila
Copy link
Contributor

@tajila tajila commented Aug 3, 2025

Add a notify to unblocker in both vthread and platform thread wait
paths. Also, fix the lockword comparison to account for different
lockword modes (learning & reserved). Also, add some assertions to
catch invalid cases.

Fixes the MonitorWaitNotify test
Fixes: #22332

Backport of #22308 and #22352

tajila added 2 commits August 3, 2025 15:28
Add a notify to unblocker in both vthread and platform thread wait
paths. Also, fix the lockword comparison to account for different
lockword modes (learning & reserved). Also, add some assertions to
catch invalid cases.

Fixes the MonitorWaitNotify test
Fixes: eclipse-openj9#22332

Signed-off-by: tajila <[email protected]>
Extract side-effects out of assertions and remove
redundant parentheses in monhelp.h.

Signed-off-by: tajila <[email protected]>
@tajila tajila requested a review from pshipton August 3, 2025 19:29
@tajila tajila added this to the Java 24 (24.0.2 - 0.54) milestone Aug 3, 2025
@pshipton pshipton merged commit 0164375 into eclipse-openj9:v0.54.0-release Aug 6, 2025
2 checks passed
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