Skip to content
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

JDK-8273958: gtest/MetaspaceGtests executes unnecessary tests in debug builds #5571

Conversation

tstuefe
Copy link
Member

@tstuefe tstuefe commented Sep 18, 2021

May I please have reviews for this trivial fix.

We miss two "debug==false" requires rules on tests meant for non-debug only. Taking them out reduces test runtime on debug by ~20 seconds.

I also shifted some of the existing requires tags down to cluster them together in one place, for better clarity.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8273958: gtest/MetaspaceGtests executes unnecessary tests in debug builds

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/5571/head:pull/5571
$ git checkout pull/5571

Update a local copy of the PR:
$ git checkout pull/5571
$ git pull https://git.openjdk.java.net/jdk pull/5571/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 5571

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/5571.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 18, 2021

👋 Welcome back stuefe! 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@tstuefe To determine the appropriate audience for reviewing this pull request, one or more labels corresponding to different subsystems will normally be applied automatically. However, no automatic labelling rule matches the changes in this pull request. In order to have an "RFR" email sent to the correct mailing list, you will need to add one or more applicable labels manually using the /label pull request command.

Applicable Labels
  • build
  • client
  • compiler
  • core-libs
  • hotspot
  • hotspot-compiler
  • hotspot-gc
  • hotspot-jfr
  • hotspot-runtime
  • i18n
  • ide-support
  • javadoc
  • jdk
  • jmx
  • kulla
  • net
  • nio
  • security
  • serviceability
  • shenandoah

@tstuefe
Copy link
Member Author

tstuefe commented Sep 18, 2021

/label runtime

@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@tstuefe The label runtime is not a valid label. These labels are valid:

  • serviceability
  • hotspot
  • hotspot-compiler
  • ide-support
  • kulla
  • i18n
  • shenandoah
  • jdk
  • javadoc
  • security
  • hotspot-runtime
  • jmx
  • build
  • nio
  • client
  • core-libs
  • compiler
  • net
  • hotspot-gc
  • hotspot-jfr

@tstuefe
Copy link
Member Author

tstuefe commented Sep 18, 2021

/label hotspot-runtime

@openjdk openjdk bot added the hotspot-runtime hotspot-runtime-dev@openjdk.org label Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@tstuefe
The hotspot-runtime label was successfully added.

@mlbridge
Copy link

mlbridge bot commented Sep 18, 2021

Webrevs

Copy link
Member

@DamonFool DamonFool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and trivial.

@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@tstuefe 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:

8273958: gtest/MetaspaceGtests executes unnecessary tests in debug builds

Reviewed-by: jiefu

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 18, 2021
@tstuefe
Copy link
Member Author

tstuefe commented Sep 18, 2021

Looks good and trivial.

Thank you!

@tstuefe
Copy link
Member Author

tstuefe commented Sep 18, 2021

/integrate

@openjdk
Copy link

openjdk bot commented Sep 18, 2021

Going to push as commit bb9d142.

@openjdk openjdk bot closed this Sep 18, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@tstuefe Pushed as commit bb9d142.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@tstuefe tstuefe deleted the JDK-8273958-gtest-MetaspaceGtests-executes-unnecessary-tests-in-debug-builds branch September 22, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated
2 participants