Skip to content

Conversation

@TobiHartmann
Copy link
Member

@TobiHartmann TobiHartmann commented Nov 18, 2024

The C2 intrinsic for jdk.jfr.internal.JVM::getEventWriter sets a boolean excluded field by masking the most significant bit of the unsigned 2-byte thread_epoch_raw field value. A shift is needed to get a proper boolean value.

Thanks,
Tobias


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-8344199: Incorrect excluded field value set by getEventWriter intrinsic (Bug - P3)

Reviewers

Contributors

  • Patricio Chilano Mateo <pchilanomate@openjdk.org>

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 22195

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@TobiHartmann
Copy link
Member Author

/contributor add @pchilano

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 18, 2024

👋 Welcome back thartmann! 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 Nov 18, 2024

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

8344199: Incorrect excluded field value set by getEventWriter intrinsic

Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: syan, mgronlun

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

  • b8b70c8: 8344379: [s390x] build failure due to missing change from JDK-8339466
  • 5fc4322: 8288298: Resolve multiline message parsing ambiguities in UL
  • ea8f289: 8344271: Comparison build fails due to difference in doc summary
  • b9c6ce9: 8344122: IGV: Extend c2 IdealGraphPrinter to send subgraphs to IGV
  • 00ff6a3: 8344105: Remove SecurityManager and related calls from jdk.attach and jdk.hotspot.agent
  • 475feb0: 8344056: Use markdown format for man pages
  • 6c2ae44: 8344204: IGV: Button to enable/disable cutting of long edges
  • 4a7ce1d: 8344205: [PPC]: failing assertion: sharedRuntime_ppc.cpp:1652: cookie not found
  • b6c2122: 8316151: [macos14] ActionListenerCalledTwiceTest.java fails on macOS 14
  • 543e355: 8344298: Test tools/sincechecker/modules/jdk.hotspot.agent/JdkHotspotAgentCheckSince.java fails on platforms without sa
  • ... and 1 more: https://git.openjdk.org/jdk/compare/a47d9ba98a1498425970613415ecb830f805a3be...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 rfr Pull request is ready for review label Nov 18, 2024
@openjdk
Copy link

openjdk bot commented Nov 18, 2024

@TobiHartmann
Contributor Patricio Chilano Mateo <pchilanomate@openjdk.org> successfully added.

@openjdk
Copy link

openjdk bot commented Nov 18, 2024

@TobiHartmann The following labels will be automatically applied to this pull request:

  • graal
  • hotspot-compiler

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added graal graal-dev@openjdk.org hotspot-compiler hotspot-compiler-dev@openjdk.org labels Nov 18, 2024
@mlbridge
Copy link

mlbridge bot commented Nov 18, 2024

Webrevs

Copy link
Member

@sendaoYan sendaoYan left a comment

Choose a reason for hiding this comment

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

Test passed after apply the patch of this PR

Copy link

@mgronlun mgronlun left a comment

Choose a reason for hiding this comment

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

Thanks for finding and fixing this.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Nov 18, 2024
@TobiHartmann
Copy link
Member Author

Thanks for the quick reviews!

@TobiHartmann
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Nov 19, 2024

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

  • 8bd080b: 8341901: Using 'var' keyword switch pattern matching causes compiler error
  • 76a55c3: 8341334: CDS: Parallel relocation
  • 499186b: 8343902: javax/swing/plaf/nimbus/8041642/bug8041642.java fails in ubuntu22.04
  • b12c5b4: 8344218: Remove calls to SecurityManager and and doPrivileged in java.net.NetworkInterface after JEP 486 integration
  • d85dd77: 8344365: SecurityManager cleanups in java.sql and java.sql.rowset modules
  • 9e92a9e: 8344059: Remove doPrivileged calls from windows platform sources in the java.desktop module
  • 3729884: 8344371: RISC-V: compiler/intrinsics/chacha/TestChaCha20.java fails after JDK-8343555
  • dd86369: 8344262: Win32AttachOperationRequest objects are created by using global new
  • 5cb0d43: 8293040: Argfile documentation for java launcher tool is confusing regarding usage of wildcards
  • 8d43e0d: 8344331: SM cleanup in java.scripting
  • ... and 28 more: https://git.openjdk.org/jdk/compare/a47d9ba98a1498425970613415ecb830f805a3be...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Nov 19, 2024

@TobiHartmann Pushed as commit 9d60300.

💡 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

graal graal-dev@openjdk.org hotspot-compiler hotspot-compiler-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants