-
Notifications
You must be signed in to change notification settings - Fork 721
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 triggerExecutionSample native #19917
Conversation
thallium
commented
Jul 24, 2024
- Add JPP flag for JFR
- Add com.ibm.oti.vm.VM::triggerExecutionSample that calls jfrExecutionSample on all Java threads
- Add test for triggerExecutionSample
@tajila Can you please take a look? I'm not quite familiar with adding tests so I'm expecting to miss something e.g. only enable the test when JFR is enabled. |
Please name this PR something like "Add triggerExecutionSample native" |
Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
@JasonFengJ9 Please review these changes |
Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
Addressed all the feedbacks above. |
Is there a way to generate this file dynamically? otherwise, the line endings check needs to skip this type of file. |
This will help JFR related tests in the future. Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
There is no way to do this currently. We need to skip file endings check for this file. |
Opend PR in TKG: |
Updated PR. |
Related: eclipse-openj9/openj9#19917 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
Merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jenkins test sanity xlinux jdk17 |
|
@keithc-ca all your feedbacks have been addressed. Also can we get ibmruntimes/openj9-openjdk-jdk#817 merged? |
The commit message says this "Depend on" ibmruntimes/openj9-openjdk-jdk#817; the dependency is in the other direction. Please correct that. |
- Add JPP flag for JFR - Add com.ibm.oti.vm.VM::triggerExecutionSample that calls jfrExecutionSample on all Java threads - Add test for triggerExecutionSample Related: - ibmruntimes/openj9-openjdk-jdk#817 Depend on: - adoptium/TKG#589 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
@keithc-ca Any further comments? |
I believe the previous PR build (https://openj9-jenkins.osuosl.org/job/Build_JDK17_x86-64_linux_Personal/907) is still valid. |
Depend on: eclipse-openj9/openj9#19917 Related: ibmruntimes/openj9-openjdk-jdk#817 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
Depend on: eclipse-openj9/openj9#19917 Related: ibmruntimes/openj9-openjdk-jdk#817 Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>