8373945: Use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests#199
Open
sendaoYan wants to merge 2 commits intoopenjdk:masterfrom
Open
8373945: Use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests#199sendaoYan wants to merge 2 commits intoopenjdk:masterfrom
sendaoYan wants to merge 2 commits intoopenjdk:masterfrom
Conversation
added 2 commits
January 29, 2026 15:26
…oading after 8373945 Reviewed-by: lmesnik, cjplummer
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Member
Author
|
/issue JDK-8375485 |
|
@sendaoYan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi all,
This backport PR contains JDK-8373945 and JDK-8375485. These two PR try to use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests, which will make test more robustness and run more quickly. Some of the tests touched by '8260555: Change the default TIMEOUT_FACTOR from 4 to 1' make this backport uncleanly, and only below 5 files backported uncleanly because of the diffrent copyright year. All other parts are cleanly.
Change has been verifed locally on linux-x64 by run all the releated tests. Test-fix only, no risk.
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large001/large001.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large002/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large004/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large005/TestDescription.java
Related tests list:
199.log
Progress
Issues
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/199/head:pull/199$ git checkout pull/199Update a local copy of the PR:
$ git checkout pull/199$ git pull https://git.openjdk.org/jdk25u-dev.git pull/199/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 199View PR using the GUI difftool:
$ git pr show -t 199Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/199.diff
Using Webrev
Link to Webrev Comment