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
8274563: jfr/event/oldobject/TestClassLoaderLeak.java fails when GC cycles are not happening #5775
Conversation
|
Extremely sorry to interrupt here...But could you please tell me why we cannot call |
Unfortunately, the OpenJDK PR comment, especially in the unrelated PR, is not a good place to seek general Java help. Please ask elsewhere, for example on StackOverflow. |
@shipilev This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 39 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
Thanks @egahlin! /integrate |
Going to push as commit 47bfc8a.
Your commit was automatically rebased without conflicts. |
This reliably fails with Serial (ignored by @requires), Shenandoah and Z:
I believe this test implicitly wants at least one GC cycle to happen so that
ObjectSampler::oop_storage_gc_notification
turns the sampled objects "old". An easy way to do this is to trim the Java heap size. If that does not work, we would need to go to MXBeans and watch GC cycles happening.Additional testing:
-XX:+UseShenandoahGC
, 10 times-XX:+UseZGC
, 10 times-XX:+UseSerialGC
, 10 times-XX:+UseParallelGC
, 10 times-XX:+UseG1GC
, 10 timesProgress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/5775/head:pull/5775
$ git checkout pull/5775
Update a local copy of the PR:
$ git checkout pull/5775
$ git pull https://git.openjdk.java.net/jdk pull/5775/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 5775
View PR using the GUI difftool:
$ git pr show -t 5775
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/5775.diff