Skip to content

Conversation

@Arraying
Copy link
Member

@Arraying Arraying commented Oct 31, 2025

Hi all,

When we encounter situations where we can't preload, for example if two value classes refer to each other, may not be able to do flattening as we cannot compute the field layout. We have log messages as a hint to application or library developers to let them know of that fact. They are very useful for debugging. However, retaining them at the warning level means they are shown by default. This may be misleading, as seeing e.g. ClassCircularityError in a log may indicate that something has gone gravely wrong, which is not the case with preload failures. This PR relegates all preload failure logs to level info, such that the information is opt-in and will not unnecessarily cause confusion.

Testing: tier 1.


Progress

  • Change must not contain extraneous whitespace

Issue

  • JDK-8370951: [lworld] Value record ClassCircularityError (Bug - P3)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1710

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1710.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 31, 2025

👋 Welcome back phubner! A progress list of the required criteria for merging this PR into lworld 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 31, 2025

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

8370951: [lworld] Value record ClassCircularityError

Reviewed-by: fparain

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 6 new commits pushed to the lworld branch:

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 (@fparain) 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).

@openjdk openjdk bot changed the title 8368875 8368875: [lworld] UseParallelGC fails null narrow klass assertion failure Oct 31, 2025
@Arraying Arraying changed the title 8368875: [lworld] UseParallelGC fails null narrow klass assertion failure 8370951 Oct 31, 2025
@openjdk openjdk bot changed the title 8370951 8370951: [lworld] Value record ClassCircularityError Oct 31, 2025
@Arraying Arraying marked this pull request as ready for review November 3, 2025 12:03
@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Nov 3, 2025
@mlbridge
Copy link

mlbridge bot commented Nov 3, 2025

Webrevs

Copy link
Collaborator

@fparain fparain left a comment

Choose a reason for hiding this comment

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

LGTM.

@Arraying
Copy link
Member Author

Arraying commented Nov 4, 2025

Thanks for the review @fparain.
/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Nov 4, 2025
@openjdk
Copy link

openjdk bot commented Nov 4, 2025

@Arraying
Your change (at version 86dd4bc) is now ready to be sponsored by a Committer.

@MrSimms
Copy link
Member

MrSimms commented Nov 4, 2025

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 4, 2025

Going to push as commit f638741.
Since your change was applied there have been 6 commits pushed to the lworld branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Nov 4, 2025
@openjdk openjdk bot closed this Nov 4, 2025
@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 Nov 4, 2025
@openjdk
Copy link

openjdk bot commented Nov 4, 2025

@MrSimms @Arraying Pushed as commit f638741.

💡 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

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants