jdk17u-dev icon indicating copy to clipboard operation
jdk17u-dev copied to clipboard

8290023: Remove use of IgnoreUnrecognizedVMOptions in gc tests

Open sendaoYan opened this issue 1 year ago • 23 comments
trafficstars

Hi, This is backport of JDK-8290023 and JDK-8290269, this PR is prefixed PR of backport JDK-8293503

Only change the testcase, additional testing:

  • [x] jtreg tier1/tier2/tier3 etc. tests on linux x64 release build
  • [x] jtreg tier1/tier2/tier3 etc. tests on linux x64 fastdebug build
  • [x] jtreg tier1/tier2/tier3 etc. tests on linux aarch64 release build
  • [x] jtreg tier1/tier2/tier3 etc. tests on linux aarch64 fastdebug build

It's not clean backport:

  1. test/hotspot/jtreg/gc/g1/TestLargePageUseForAuxMemory.java has PR 8210708 before 8290023 jdk20
  2. There is no test/hotspot/jtreg/gc/g1/TestVerificationInConcurrentCycle.java in jdk17u-dev
  3. test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java has been backported 8298073 and 8241293 after 8290023 in jdk17u-dev
  4. test/hotspot/jtreg/gc/metaspace/TestPerfCountersAndMemoryPools.java has PR 8284161 before 8290023 in jdk20

Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8290269 needs maintainer approval
  • [ ] JDK-8290023 needs maintainer approval

Issues

  • JDK-8290023: Remove use of IgnoreUnrecognizedVMOptions in gc tests (Enhancement - P4)
  • JDK-8290269: gc/shenandoah/TestVerifyJCStress.java fails due to invalid tag: required after JDK-8290023 (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2438/head:pull/2438
$ git checkout pull/2438

Update a local copy of the PR:
$ git checkout pull/2438
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2438/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2438

View PR using the GUI difftool:
$ git pr show -t 2438

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2438.diff

Webrev

Link to Webrev Comment

sendaoYan avatar Apr 28 '24 09:04 sendaoYan

:wave: Welcome back syan! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Apr 28 '24 09:04 bridgekeeper[bot]

❗ This change is not yet ready to be integrated. See the Progress checklist in the description for automated requirements.

openjdk[bot] avatar Apr 28 '24 09:04 openjdk[bot]

This backport pull request has now been updated with issue from the original commit.

openjdk[bot] avatar Apr 28 '24 09:04 openjdk[bot]

@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Jun 10 '24 10:06 bridgekeeper[bot]

Hi, can anyone review this PR.

sendaoYan avatar Jun 10 '24 12:06 sendaoYan

@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Jul 08 '24 13:07 bridgekeeper[bot]

/open

sendaoYan avatar Jul 08 '24 14:07 sendaoYan

@sendaoYan This pull request is already open

openjdk[bot] avatar Jul 08 '24 14:07 openjdk[bot]

/open

sendaoYan avatar Jul 31 '24 14:07 sendaoYan

@sendaoYan This pull request is already open

openjdk[bot] avatar Jul 31 '24 14:07 openjdk[bot]

@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Aug 28 '24 14:08 bridgekeeper[bot]

/approval request Backport to remove unnecessary use of IgnoreUnrecognizedVMOptions in gc tests, test fix only, the change has been verified, no risk.

sendaoYan avatar Aug 28 '24 15:08 sendaoYan

@sendaoYan 8290023: The approval request has been created successfully.

openjdk[bot] avatar Aug 28 '24 15:08 openjdk[bot]

Hi Sendao, please only label for approval if you have a review. I will only approve reviewed changes, but there is no way I can filter for this. So I revisit changes labeled for approval but not reviewed every time I do approvals, badly wasting my time. I will remove the fix-request labels next time I visit changes not reviewed. You can label again once a review is there. Thanks.

GoeLin avatar Aug 29 '24 13:08 GoeLin

/approval cancel

sendaoYan avatar Aug 29 '24 15:08 sendaoYan

@sendaoYan 8290023: The approval request has been cancelled successfully.

openjdk[bot] avatar Aug 29 '24 15:08 openjdk[bot]

Hi Sendao, please only label for approval if you have a review. I will only approve reviewed changes, but there is no way I can filter for this. So I revisit changes labeled for approval but not reviewed every time I do approvals, badly wasting my time. I will remove the fix-request labels next time I visit changes not reviewed. You can label again once a review is there. Thanks.

Sorry for that. I will cancel approval of all the PRs which have not been review yet. Sorry.

sendaoYan avatar Aug 29 '24 15:08 sendaoYan

Please remove copyright date updates that are not in the original commit, and use the latest copyright dates from the original commit rather than 2024.

Thanks for the review. The copyright mis-updates has been reverted.

sendaoYan avatar Sep 03 '24 15:09 sendaoYan

⚠️ @sendaoYan This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

openjdk[bot] avatar Sep 03 '24 17:09 openjdk[bot]

Thank you. Ltgm.

In JDK-8290023, there is a typo bug, which has been fixed by JDK-8290269, I think we should include backport of JDK-8290269 in this PR, the backport commit is 4e02. Can you review this PR again, thanks.

sendaoYan avatar Sep 04 '24 01:09 sendaoYan

/issue JDK-8290269

sendaoYan avatar Sep 04 '24 01:09 sendaoYan

@sendaoYan Adding additional issue to issue list: 8290269: gc/shenandoah/TestVerifyJCStress.java fails due to invalid tag: required after JDK-8290023.

openjdk[bot] avatar Sep 04 '24 01:09 openjdk[bot]

@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Oct 02 '24 05:10 bridgekeeper[bot]

/open

sendaoYan avatar Oct 02 '24 15:10 sendaoYan

@sendaoYan This pull request is already open

openjdk[bot] avatar Oct 02 '24 15:10 openjdk[bot]