Skip to content

Conversation

@stefank
Copy link
Member

@stefank stefank commented Dec 9, 2025

There are a few left-over blank line changes, redundant includes, and unused code in the memory/ directory. I suggest that we clean those out to make it nicer to review the patch.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

  • JDK-8373347: [lworld] Minor cleanups in the memory directory (Enhancement - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1781

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 9, 2025

👋 Welcome back stefank! 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 Dec 9, 2025

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

8373347: [lworld] Minor cleanups in the memory directory

Reviewed-by: phubner, 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 no new commits pushed to the lworld branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential 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 added the rfr Pull request is ready for review label Dec 9, 2025
@mlbridge
Copy link

mlbridge bot commented Dec 9, 2025

Webrevs

Copy link
Member

@Arraying Arraying left a comment

Choose a reason for hiding this comment

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

LGTM, although maybe someone knows the historic reason of why we had do_oop_no_buffering to begin with.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 9, 2025
@fparain
Copy link
Collaborator

fparain commented Dec 9, 2025

It is a remain of an experiment to use a small thread-local area to store buffered values, which are often short lived, with a kind of automatic reclamation based on frame exits (I'm simplifying here). The idea was to avoid filling the Java heap with those buffered values. It worked but performance was bad. Browsing interpreter frames to find which values in this thread-local area were still alive was expensive, and the ratio cost/amount_of_memory_freed was not good. At the end, the Java heap GC was more efficient to handle those short lived buffered values, especially with generational GCs.

@stefank
Copy link
Member Author

stefank commented Dec 9, 2025

Thanks for the reviews. This passed tier1 testing.
/integrate

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

openjdk bot commented Dec 9, 2025

@stefank
Your change (at version 1fb37c3) is now ready to be sponsored by a Committer.

@fparain
Copy link
Collaborator

fparain commented Dec 9, 2025

/sponsor

@openjdk
Copy link

openjdk bot commented Dec 9, 2025

Going to push as commit 6e15674.

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

openjdk bot commented Dec 9, 2025

@fparain @stefank Pushed as commit 6e15674.

💡 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