Skip to content

Update JVMTI InterruptThread for virtual threads #18964

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 1 commit into from
Feb 16, 2024

Conversation

babsingh
Copy link
Contributor

JVMTI InterruptThread needs to invoke j.l.VirtualThread.interrupt()
to interrupt a virtual thread as per the RI.

Related: #18810

JVMTI InterruptThread needs to invoke j.l.VirtualThread.interrupt()
to interrupt a virtual thread as per the RI.

Related: eclipse-openj9#18810

Signed-off-by: Babneet Singh <[email protected]>
@babsingh
Copy link
Contributor Author

@tajila Can you please review this PR?

@babsingh
Copy link
Contributor Author

jenkins test sanity,sanity.openjdk alinux jdk21,jdk22

@tajila tajila merged commit 1ea7879 into eclipse-openj9:master Feb 16, 2024
babsingh added a commit to babsingh/openj9 that referenced this pull request Feb 16, 2024
}
exit:
#endif /* JAVA_SPEC_VERSION >= 19 */
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm pretty sure this is causing builds for Java < 19 to fail. The #endif extends past the brace now.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. I'll create a PR to fix that.

Copy link
Contributor

Choose a reason for hiding this comment

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

See #18971.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants