Skip to content

More buffer tagging cleanup#984

Open
rbrchen wants to merge 4 commits intoopenjdk:code-reflectionfrom
rbrchen:cleanup
Open

More buffer tagging cleanup#984
rbrchen wants to merge 4 commits intoopenjdk:code-reflectionfrom
rbrchen:cleanup

Conversation

@rbrchen
Copy link
Copy Markdown
Contributor

@rbrchen rbrchen commented Mar 26, 2026

Delete and refactor unnecessary buffer tagging code.

Also remove the @reflect annotation on S32Array::arrayView - this makes the buffer tagging break.


Progress

  • Change must not contain extraneous whitespace

Error

 ⚠️ Pull request body is missing required line: - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 984

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/babylon/pull/984.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Mar 26, 2026

👋 Welcome back rbrchen! A progress list of the required criteria for merging this PR into code-reflection 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
Copy Markdown

openjdk Bot commented Mar 26, 2026

@rbrchen This change is no longer ready for integration - check the PR body for details.

@openjdk openjdk Bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 26, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented Mar 26, 2026

Webrevs

Comment thread hat/core/src/main/java/hat/BufferTagger.java Outdated
Comment thread hat/core/src/main/java/hat/BufferTagger.java
Comment thread hat/core/src/main/java/hat/BufferTagger.java Outdated
Comment thread hat/core/src/main/java/hat/BufferTagger.java Outdated
Comment thread hat/core/src/main/java/hat/BufferTagger.java Outdated
Comment thread hat/core/src/main/java/hat/BufferTagger.java Outdated
if (invokeOp != null) return invokeOp.result();
if (invokeOp != null) {
return invokeOp.result();
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If this is null what do we return? Maybe we dont expect this ever to be the case. In which case shoudl we throw?

@@ -123,10 +127,14 @@ private static Value getRootValue(Op op) {
}
case JavaOp.InvokeOp invokeOp -> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

All of this would be easier I think if you used the Invoke wrapper.

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 29, 2026

@rbrchen This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@grfrost
Copy link
Copy Markdown
Collaborator

grfrost commented Apr 29, 2026

/touch

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 29, 2026

@grfrost The pull request is being re-evaluated and the inactivity timeout has been reset.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 29, 2026

@rbrchen this pull request can not be integrated into code-reflection due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout cleanup
git fetch https://git.openjdk.org/babylon.git code-reflection
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge code-reflection"
git push

@openjdk openjdk Bot added merge-conflict Pull request has merge conflict with target branch and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflict Pull request has merge conflict with target branch

Development

Successfully merging this pull request may close these issues.

2 participants