Skip to content

(0.47) Add virtual thread support for JVMTI GetObjectMonitorUsage #19894

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
Jul 22, 2024

Conversation

babsingh
Copy link
Contributor

  • RI has removed support for virtual threads if an object monitor is
    owned by a virtual thread.
  • Support has also been removed for virtual threads that are waiting
    be notified or own a monitor.
  • Also, new tests show that waiting to be notified threads do not
    repeat and only appear in one list. This has been corrected in OpenJ9.
  • Update formatting in jvmtiObject.c to follow coding standards.

Fixes: #19497

Backport of #19871

@babsingh babsingh requested a review from hangshao0 July 22, 2024 14:35
@keithc-ca
Copy link
Contributor

Please update this with the fix for #19871 (review).

@babsingh
Copy link
Contributor Author

Added the commit from #19896 to this PR.

@keithc-ca
Copy link
Contributor

I think this should be squashed: we don't need to repeat the detail (and false starts) from the master branch for the 0.47 release branch.

- RI has removed support for virtual threads if an object monitor is
owned by a virtual thread.
- Support has also been removed for virtual threads that are waiting
be notified or own a monitor.
- Also, new tests show that waiting to be notified threads do not
repeat and only appear in one list. This has been corrected in OpenJ9.
- Update formatting in jvmtiObject.c to follow coding standards.

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

Commits have been squashed.

@hangshao0 hangshao0 merged commit 05ef087 into eclipse-openj9:v0.47.0-release Jul 22, 2024
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.

3 participants