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

Update committing of java level events #7070

Closed

Conversation

roberttoyonaga
Copy link
Collaborator

@roberttoyonaga roberttoyonaga commented Jul 26, 2023

Resolves related issues: #7052 and graalvm#546

Draft because I'm waiting for LabsJDK to be updated with the changes in OpenJDK21+32 that caused the breakage so I can test. For now, I have tested with mandrel and Temurin build of openjdk21+32.

Summary
This change openjdk/jdk21#129 caused some substitutions to become out of date. Additionally, the way Java-level events are committed by the JavaEventWriter has also changed. In openjdk, committing is now done in native Hotspot code in order to avoid safepointing potentially interrupting the commit operation. This PR achieves the same behaviour by subsituting the new JVM#commit method and making it uninterruptible.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 26, 2023
@roberttoyonaga
Copy link
Collaborator Author

Closing this because the same changes were made through these commits:
ad853ee
8e77803
1a87440

There are some problems I think those commits introduce. I'll follow up with another PR.

@fniephaus
Copy link
Member

FYI @zapster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug native-image OCA Verified All contributors have signed the Oracle Contributor Agreement. redhat-interest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants