Skip to content

8307067: remove broken EnableThreadSMRExtraValidityChecks option #13704

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

Closed
wants to merge 4 commits into from

Conversation

dcubed-ojdk
Copy link
Member

@dcubed-ojdk dcubed-ojdk commented Apr 27, 2023

A trivial fix to remove broken EnableThreadSMRExtraValidityChecks option.


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

Issue

  • JDK-8307067: remove broken EnableThreadSMRExtraValidityChecks option

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13704/head:pull/13704
$ git checkout pull/13704

Update a local copy of the PR:
$ git checkout pull/13704
$ git pull https://git.openjdk.org/jdk.git pull/13704/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13704

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13704.diff

Webrev

Link to Webrev Comment

@dcubed-ojdk
Copy link
Member Author

dcubed-ojdk commented Apr 27, 2023

/label add hotspot-runtime
/label add serviceability

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 27, 2023

👋 Welcome back dcubed! 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 hotspot-runtime hotspot-runtime-dev@openjdk.org label Apr 27, 2023
@openjdk
Copy link

openjdk bot commented Apr 27, 2023

@dcubed-ojdk
The hotspot-runtime label was successfully added.

@openjdk openjdk bot added the serviceability serviceability-dev@openjdk.org label Apr 27, 2023
@openjdk
Copy link

openjdk bot commented Apr 27, 2023

@dcubed-ojdk
The serviceability label was successfully added.

@dcubed-ojdk dcubed-ojdk marked this pull request as ready for review April 28, 2023 19:23
@openjdk openjdk bot added the rfr Pull request is ready for review label Apr 28, 2023
@mlbridge
Copy link

mlbridge bot commented Apr 28, 2023

Webrevs

Copy link
Contributor

@coleenp coleenp left a comment

Choose a reason for hiding this comment

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

Yes, this looks good and also trivial.

@openjdk
Copy link

openjdk bot commented May 1, 2023

@dcubed-ojdk 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:

8307067: remove broken EnableThreadSMRExtraValidityChecks option

Reviewed-by: coleenp, dholmes, sspitsyn, rehn

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

  • e54051a: 8307935: Class space argument processing can be simplified
  • 46e3d24: 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
  • 3bf3876: 8307297: Move some DnD tests to open
  • d8afc7b: 8300204: Sealed-class hierarchy graph missing nodes
  • 38838b3: 8307480: Improve SA "transported core" documentation for windows
  • 9842ff4: 8306607: Apply 80-column output to javac supported version output
  • d809823: 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
  • 4441a23: 6714245: [Col] Collator - Faster Comparison for identical strings.
  • a284920: 8168469: Memory leak in JceSecurity
  • 7455bb2: 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
  • ... and 19 more: https://git.openjdk.org/jdk/compare/54c06d2d915e57d822136b403ea7a7675325d6fb...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.

➡️ 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 May 1, 2023
Copy link
Member

@dholmes-ora dholmes-ora left a comment

Choose a reason for hiding this comment

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

One minor nit but otherwise good. Thanks.

if (EnableThreadSMRExtraValidityChecks && !includes(java_thread)) {
// Not on the JavaThreads list so it is not alive.
// java_thread is not the current JavaThread so we have to verify it
// against the ThreadsList:
Copy link
Member

Choose a reason for hiding this comment

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

Colon at the end of the comment seems odd

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice catch! Fixed.

@dcubed-ojdk
Copy link
Member Author

@coleenp, @dholmes-ora and @sspitsyn - thanks for the reviews!

I suppose there isn't any way to give @robehn credit for his reviews when this
fix was part of #13519.

@dcubed-ojdk
Copy link
Member Author

This fix was tested with Mach5 Tier[1-8] when it was part of:
#13519

and is also being tested with Mach5 Tier[1-8] combined with
the fix from JDK-8307068 and what remains in JDK-8305670.

Copy link
Contributor

@robehn robehn 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, thanks!

@dcubed-ojdk
Copy link
Member Author

@robehn - Thanks for the re-review!

@dcubed-ojdk
Copy link
Member Author

@dholmes-ora - Thanks for the re-review!

@dcubed-ojdk
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented May 13, 2023

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

  • e54051a: 8307935: Class space argument processing can be simplified
  • 46e3d24: 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
  • 3bf3876: 8307297: Move some DnD tests to open
  • d8afc7b: 8300204: Sealed-class hierarchy graph missing nodes
  • 38838b3: 8307480: Improve SA "transported core" documentation for windows
  • 9842ff4: 8306607: Apply 80-column output to javac supported version output
  • d809823: 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
  • 4441a23: 6714245: [Col] Collator - Faster Comparison for identical strings.
  • a284920: 8168469: Memory leak in JceSecurity
  • 7455bb2: 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
  • ... and 19 more: https://git.openjdk.org/jdk/compare/54c06d2d915e57d822136b403ea7a7675325d6fb...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 13, 2023
@openjdk openjdk bot closed this May 13, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels May 13, 2023
@openjdk
Copy link

openjdk bot commented May 13, 2023

@dcubed-ojdk Pushed as commit 5e26e64.

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

@dcubed-ojdk dcubed-ojdk deleted the JDK-8307067 branch June 9, 2023 19:57
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 serviceability serviceability-dev@openjdk.org
Development

Successfully merging this pull request may close these issues.

5 participants