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

Add OpenJ9PropsExt properties for serviceability_jvmti_j9 #505

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

JasonFengJ9
Copy link
Member

@JasonFengJ9 JasonFengJ9 commented Oct 7, 2022

vm.cds is set to false for serviceability/jvmti/CanGenerateAllClassHook/CanGenerateAllClassHook.java which is specific to hotspot sharedclass;
vm.flagless is set to true for serviceability/jvmti/RedefineClasses/RedefineLeak.java which OpenJ9 passes;
vm.opt.final.ClassUnloading is set to false for serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java which looks for a hotspot specific Class unloading: has_previous_versions = false.

Cherry-pick ibmruntimes/openj9-openjdk-jdk19#34

closes eclipse-openj9/openj9#16074

Signed-off-by: Jason Feng fengj@ca.ibm.com

vm.cds is set to false for
serviceability/jvmti/CanGenerateAllClassHook/CanGenerateAllClassHook.java
which is specific to hotspot sharedclass;
vm.flagless is set to true for
serviceability/jvmti/RedefineClasses/RedefineLeak.java which OpenJ9
passes;
vm.opt.final.ClassUnloading is set to false for
serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java which
looks for a hotspot specific "Class unloading: has_previous_versions =
false".

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@pshipton
Copy link
Member

pshipton commented Oct 7, 2022

I don't think the cherry pick link in the description is what you intended.

@pshipton
Copy link
Member

pshipton commented Oct 7, 2022

I assume cherry pick of ibmruntimes/openj9-openjdk-jdk19#34

@JasonFengJ9
Copy link
Member Author

Yeah, updated the link.

Copy link
Member

@babsingh babsingh left a comment

Choose a reason for hiding this comment

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

LGTM. Changes tested and verified in ibmruntimes/openj9-openjdk-jdk19#34.

@babsingh babsingh merged commit cd77212 into ibmruntimes:openj9 Oct 10, 2022
@JasonFengJ9 JasonFengJ9 deleted the jvmitprops branch October 11, 2022 11:59
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.

serviceability_jvmti_j9_0_FAILED
3 participants