8263725: JFR oldobject tests are not run when GCs are specified explicitly#3046
8263725: JFR oldobject tests are not run when GCs are specified explicitly#3046stefank wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
/label jfr |
|
👋 Welcome back stefank! A progress list of the required criteria for merging this PR into |
|
@stefank The label
|
|
@stefank This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 24 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. ➡️ To integrate this PR with the above commit message to the |
|
Thanks for reviewing! |
|
@stefank Since your change was applied there have been 44 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 72b82fd. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The tests are tagged with @requires == "null", which has the effect that if you run with GC explicitly set, like:
make -C ../build/fastdebug test TEST=test/jdk/jdk/jfr/event/oldobject/TestZ.java JTREG="JAVA_OPTIONS=-XX:+UseG1GC"
then the tests won't run. The intention has probably been to only run the test with the default GC. I propose that we remove this and run the tests with other GCs as well.
I've tested this locally with ZGC, G1, Parallel and Serial.
The following test doesn't work with ZGC and has been disabled for that GC:
test/jdk/jdk/jfr/event/oldobject/TestObjectDescription.java
The following test doesn't work with Serial and has been disabled for that GC
test/jdk/jdk/jfr/event/oldobject/TestClassLoaderLeak.java
Progress
Issue
Reviewers
Download
To checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3046/head:pull/3046$ git checkout pull/3046To update a local copy of the PR:
$ git checkout pull/3046$ git pull https://git.openjdk.java.net/jdk pull/3046/head