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

8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match" #2712

Closed
wants to merge 4 commits into from

Conversation

dhanalla
Copy link
Contributor

@dhanalla dhanalla commented May 16, 2024

backport of c0dce25
8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match"

  1. Clean backport from tip
  2. validated the modified test case

Progress

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

Issue

  • JDK-8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match" (Bug - P3 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2712

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

Using diff file

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

Webrev

Link to Webrev Comment

coleenp and others added 2 commits May 8, 2024 19:21
…SA for java.lang.Object does not match"

Use getTestJavaOpts() instead of getVmOptions() because of mach5 configuration settings.

Reviewed-by: lmesnik, cjplummer, dholmes
…uted by SA for java.lang.Object does not match
@bridgekeeper
Copy link

bridgekeeper bot commented May 16, 2024

👋 Welcome back dhanalla! 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
Copy link

openjdk bot commented May 16, 2024

@dhanalla This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match"

Use getTestJavaOpts() instead of getVmOptions() because of mach5 configuration settings.

Reviewed-by: mdoerr

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 91 new commits pushed to the master branch:

  • 8578e12: 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
  • 6547a16: 8227122: [TESTBUG] Create Docker sidecar test cases
  • 25d6e19: Merge
  • 1e3e687: 8334441: Mark tests in jdk_security_infra group as manual
  • e61adf6: 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
  • 59cd1a4: 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
  • 569c669: 8305079: Remove finalize() from compiler/c2/Test719030
  • 724477c: 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
  • cc42090: 8306466: Open source more AWT Drag & Drop related tests
  • 8489b52: 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
  • ... and 81 more: https://git.openjdk.org/jdk11u-dev/compare/665e1cd4f976abf89a32c12a96642cbab2c5d157...master

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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@dhanalla dhanalla changed the title backport of c0dce25756911ce49e7d8b034d5f12a25fc3c81d Backport c0dce25756911ce49e7d8b034d5f12a25fc3c81d May 16, 2024
@openjdk openjdk bot changed the title Backport c0dce25756911ce49e7d8b034d5f12a25fc3c81d 8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match" May 16, 2024
@openjdk
Copy link

openjdk bot commented May 16, 2024

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

@openjdk openjdk bot added backport rfr Pull request is ready for review labels May 16, 2024
@mlbridge
Copy link

mlbridge bot commented May 16, 2024

Webrevs

@dhanalla
Copy link
Contributor Author

Adding a comment to keep this PR active.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

Sorry for the delay. I had started a review and forgot to finish it.

@@ -38,6 +38,7 @@
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.SA.SATestUtils;
import jdk.test.lib.Utils;
import java.util.Arrays;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add the import where the other java.util imports are (alphabetically sorted).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TheRealMDoerr, Thanks for reviewing the PR.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

The blocks of imports are alphabetically sorted. Would be nice if you could clean this up. Otherwise, LGTM.

@openjdk
Copy link

openjdk bot commented Jun 26, 2024

⚠️ @dhanalla 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 openjdk bot added approval ready Pull request is ready to be integrated and removed approval labels Jun 26, 2024
Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

Thanks!

@dhanalla
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jun 27, 2024
@openjdk
Copy link

openjdk bot commented Jun 27, 2024

@dhanalla
Your change (at version 65def81) is now ready to be sponsored by a Committer.

@TheRealMDoerr
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Jun 27, 2024

Going to push as commit db9e313.
Since your change was applied there have been 91 commits pushed to the master branch:

  • 8578e12: 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
  • 6547a16: 8227122: [TESTBUG] Create Docker sidecar test cases
  • 25d6e19: Merge
  • 1e3e687: 8334441: Mark tests in jdk_security_infra group as manual
  • e61adf6: 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
  • 59cd1a4: 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
  • 569c669: 8305079: Remove finalize() from compiler/c2/Test719030
  • 724477c: 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
  • cc42090: 8306466: Open source more AWT Drag & Drop related tests
  • 8489b52: 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
  • ... and 81 more: https://git.openjdk.org/jdk11u-dev/compare/665e1cd4f976abf89a32c12a96642cbab2c5d157...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jun 27, 2024
@openjdk openjdk bot closed this Jun 27, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Jun 27, 2024
@openjdk
Copy link

openjdk bot commented Jun 27, 2024

@TheRealMDoerr @dhanalla Pushed as commit db9e313.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants