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

Vitals: ClassLoaderDataGraph by SamplerThread is unsynchronized #1443

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

reinrich
Copy link
Member

@reinrich reinrich commented Jul 6, 2023

This is a backport of a04a40b with conflicts.

In sapmachine11 the CLDs were not even counted. So no bug there. With the approach from #1438 we can do it without risk.

Conflicts

  • Code related to CLD graph walk is commented out in sapmachine11. The pr just deletes it.
  • CLDs have a property is_anonymous in sapmachine11. It corresponds to has_class_mirror_holder in higher versions (see commit "fixups")

Testing:
jtreg:test/hotspot/jtreg/runtime/Vitals
gtest:vitals/server

fixes #1438

@SapMachine
Copy link
Member

Hello @reinrich, this pull request fulfills all formal requirements.

@reinrich reinrich marked this pull request as ready for review July 6, 2023 13:51
Copy link
Member

@schmelter-sap schmelter-sap left a comment

Choose a reason for hiding this comment

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

Looks good. And this time I didn't forget to click approve ;)

@reinrich
Copy link
Member Author

Looks good. And this time I didn't forget to click approve ;)

Thanks! 😄

@RealCLanger RealCLanger merged commit 6346209 into SAP:sapmachine11 Jul 12, 2023
59 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.

4 participants