Skip to content

Improve JPMS module opener#11269

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomasterfrom
andrea.marziali/jpms-followups
May 5, 2026
Merged

Improve JPMS module opener#11269
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomasterfrom
andrea.marziali/jpms-followups

Conversation

@amarziali
Copy link
Copy Markdown
Contributor

@amarziali amarziali commented May 4, 2026

What Does This Do

Got a code review feedback by claude on a previous PR in which the JPMS module opener was introduced. I let it do some cleanup and migrate a couple of tests to junit.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@amarziali amarziali force-pushed the andrea.marziali/jpms-followups branch 2 times, most recently from c938acd to 2844e24 Compare May 5, 2026 08:07
@amarziali amarziali force-pushed the andrea.marziali/jpms-followups branch from 2844e24 to caf1bee Compare May 5, 2026 08:10
@amarziali amarziali added type: enhancement Enhancements and improvements comp: core Tracer core labels May 5, 2026
@amarziali amarziali marked this pull request as ready for review May 5, 2026 08:12
@amarziali amarziali requested review from a team as code owners May 5, 2026 08:12
@amarziali amarziali requested review from dougqh, jbachorik and sarahchen6 and removed request for a team May 5, 2026 08:12
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

⚠️ Java Benchmark SLOs — Some SLO checks did not complete

Suite Status
Startup ⚠️ (check incomplete)
Load ⚠️ (check incomplete)
DaCapo ⚠️ (check incomplete)

Commit: d2f0ae67 · CI Pipeline · Benchmarking Platform UI

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: caf1beed1c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@amarziali amarziali added the tag: ai generated Largely based on code generated by an AI or LLM label May 5, 2026
@amarziali
Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Contributor

@mcculls mcculls left a comment

Choose a reason for hiding this comment

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

Overall looks ok, but some of the suggested changes to instrumenter classes don't make sense given how the methods will be called. triggerClasses() is only ever called once, so it doesn't make sense to move its return value to a constant even though the result does not change. If we applied this pattern to all instrumenter methods then we'd end up with bloated constant pools capturing one-shot return values.

amarziali and others added 2 commits May 5, 2026 14:35
…strap/instrumentation/java/module/JpmsHelper.java

Co-authored-by: Stuart McCulloch <stuart.mcculloch@datadoghq.com>
…strap/instrumentation/java/module/JpmsHelper.java

Co-authored-by: Stuart McCulloch <stuart.mcculloch@datadoghq.com>
@amarziali amarziali added the tag: no release notes Changes to exclude from release notes label May 5, 2026
@amarziali amarziali enabled auto-merge May 5, 2026 12:42
@amarziali amarziali disabled auto-merge May 5, 2026 13:02
@amarziali amarziali enabled auto-merge May 5, 2026 13:03
@amarziali amarziali added this pull request to the merge queue May 5, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 5, 2026

View all feedbacks in Devflow UI.

2026-05-05 13:38:46 UTC ℹ️ Start processing command /merge


2026-05-05 13:38:51 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-05 15:31:14 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 5, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 30ca1ef into master May 5, 2026
570 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the andrea.marziali/jpms-followups branch May 5, 2026 15:31
@github-actions github-actions Bot added this to the 1.63.0 milestone May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants