-
Notifications
You must be signed in to change notification settings - Fork 767
Add JFR SystemGC event #21882
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 JFR SystemGC event #21882
Conversation
9f28d17
to
c25dd5a
Compare
@tajila can you please review? |
Please also add a test case. |
3e597b3
to
ba218a0
Compare
Added a test |
jenkins test sanity.functional xlinux jdk17 |
@@ -104,4 +104,11 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex | |||
<output type="required" caseSensitive="yes" regex="no">topAddress</output> | |||
<output type="failure" caseSensitive="yes" regex="no">jfr print: could not read recording</output> | |||
</test> | |||
<test id="test jfr SystemGC - approx 30 seconds" platforms="linux.*"> |
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.
this isnt specific to linux so it doesnt need platforms="linux.*"
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.
Fixed
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.
you also probably need to trigger a System.gc() in WorkLoad.java, maybe after a thread completes
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.
also, I tried a sample application and didnt see the system GC event
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.
The test should work now.
also, I tried a sample application and didnt see the system GC event
Did you call the System.gc()
and can you share your application? It seems working for me.
Closes eclipse-openj9#21859 Signed-off-by: Gengchen Tuo <[email protected]>
jenkins test sanity.functional xlinux jdk17 |
Closes #21859