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 #1442

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

reinrich
Copy link
Member

@reinrich reinrich commented Jul 6, 2023

This is a backport of a04a40b with conflicts.

I think we should do the backport to sapmachine17 because there the cld graph walk is also not sufficiently synchronized.

Conflicts

  • ClassLoaderDataGraph::do_unloading: resolved to sapmachine17 version and inserted dec_cld_count() call at the right place.
  • sample_jvm_values: sapmachine17 version calls ClassLoaderDataGraph::cld_do, higher versions call ClassLoaderDataGraph::loaded_cld_do

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

fixes #1438

@SapMachine
Copy link
Member

Hello @reinrich, I'm sorry, this pull request doesn't meet the expectations. The pull request description has an invalid format. Please have a look at https://github.com/SAP/SapMachine/wiki/Formal-Requirements-of-Pull-Requests .

@RealCLanger
Copy link
Member

retest this please

@SapMachine
Copy link
Member

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

@reinrich reinrich changed the title SapMachine #1438: Vitals: ClassLoaderDataGraph by SamplerThread is un… Vitals: ClassLoaderDataGraph by SamplerThread is unsynchronized Jul 6, 2023
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.

@RealCLanger RealCLanger merged commit b4ce57d into SAP:sapmachine17 Jul 7, 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