Skip to content

Conversation

@fandreuz
Copy link
Contributor

@fandreuz fandreuz commented Oct 27, 2025

This PR contains a clean backport of JDK-8359472. JDK-8370730 is a follow-up which resolves a small problem in the test.


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-8359472 needs maintainer approval
  • JDK-8370730 needs maintainer approval

Issues

  • JDK-8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE (Bug - P3 - Requested)
  • JDK-8370730: Test serviceability/attach/EarlyDynamicLoad/EarlyDynamicLoad.java needs to be resilient about warnings (Bug - P4 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 340

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk25u/pull/340.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 27, 2025

👋 Welcome back fandreuzzi! 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 Oct 27, 2025

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

@openjdk openjdk bot changed the title Backport 2a8cbd944ba4d8896e48181e396c65f70e5aa215 8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE Oct 27, 2025
@openjdk
Copy link

openjdk bot commented Oct 27, 2025

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

@openjdk openjdk bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Oct 27, 2025
@openjdk
Copy link

openjdk bot commented Oct 27, 2025

⚠️ @fandreuz 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 the rfr Pull request is ready for review label Oct 27, 2025
@mlbridge
Copy link

mlbridge bot commented Oct 27, 2025

Webrevs

@fandreuz
Copy link
Contributor Author

/approval request Clean backport. Fixes a crash happening when an agent tries to load before live phase. The fix is simple and tests are attached to verify all use cases. Passes tier1 and tier2.

@openjdk
Copy link

openjdk bot commented Oct 27, 2025

@fandreuz
8359472: The approval request has been created successfully.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Oct 27, 2025
@fandreuz
Copy link
Contributor Author

Tests in this PR needs a small tweak, see https://bugs.openjdk.org/browse/JDK-8370730.

I'll reopen the backport request once the related PR is merged.

@fandreuz fandreuz closed this Oct 28, 2025
@shipilev
Copy link
Member

shipilev commented Nov 6, 2025

Looks like JDK-8370730 is in, would you like to finish this up? We are still in 25.0.2 -> 25.0.3 handover limbo, but we can integrate when 25.0.3 opens.

@fandreuz fandreuz reopened this Nov 6, 2025
@fandreuz
Copy link
Contributor Author

fandreuz commented Nov 6, 2025

/issue add JDK-8370730

@openjdk openjdk bot removed the clean Identical backport; no merge resolution required label Nov 6, 2025
@openjdk
Copy link

openjdk bot commented Nov 6, 2025

@fandreuz
Adding additional issue to issue list: 8370730: Test serviceability/attach/EarlyDynamicLoad/EarlyDynamicLoad.java needs to be resilient about warnings.

@fandreuz
Copy link
Contributor Author

fandreuz commented Nov 6, 2025

/approval request Clean backport. Fixes a crash happening when an agent tries to load before live phase. The fix is simple and tests are attached to verify all use cases. Passes tier1 and tier2.

@openjdk
Copy link

openjdk bot commented Nov 6, 2025

@fandreuz
8359472: The approval request was already up to date.
8370730: The approval request has been created successfully.

Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

Both commits look clean, so the compound PR is also clean. Approving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval Requires approval; will be removed when approval is received backport Port of a pull request already in a different code base rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants