New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8296477: Foreign linker implementation update following JEP 434 #11019
Conversation
Fix call to SymbolLookup::find
Revert MemorySegment factories
Update some javadocs
👋 Welcome back jvernee! A progress list of the required criteria for merging this PR into |
/contributor add @JornVernee |
@JornVernee |
@JornVernee |
@JornVernee Syntax:
User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address. |
@JornVernee The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
* Make sure that first para of class javadoc is succinct and descriptive * Remove references to "access" var handle or "memory segment view" var handle (just use var handle) * Minor tweak to layout classes javadoc - use `@see` in value layouts instead of a dedicated para. * Other minor typos fixes
/contributor add @minborg |
@JornVernee |
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout VM_Changes
git fetch https://git.openjdk.org/jdk master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@JornVernee this pull request can not be integrated into git checkout VM_Changes
git fetch https://git.openjdk.org/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
@JornVernee 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:
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 ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit 0452c39. |
@JornVernee Pushed as commit 0452c39. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Pull in linker implementation changes, that include non-trivial changes to VM code, from the panama-foreign repo into the main JDK.
This is split off from the main JEP integration to make reviewing easier.
This includes the following patches:
Probably the biggest change to the code comes from replacing
VMReg
- which can not represent offsets into the stack that are not a multiple of the VM's stack slot size (32-bits) - with the newVMStorage
class, which can describe byte offsets into the stack, as well as having a register mask to indicate only certain register segments.The only part of 3. that is in this PR is the part that turns the
VMStorage
class in Java into a record.Please refer to the PR of each individual patch for a more detailed description.
Progress
Issues
Reviewers
Contributors
<jvernee@openjdk.org>
<ngasson@openjdk.org>
<pminborg@openjdk.org>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11019/head:pull/11019
$ git checkout pull/11019
Update a local copy of the PR:
$ git checkout pull/11019
$ git pull https://git.openjdk.org/jdk pull/11019/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 11019
View PR using the GUI difftool:
$ git pr show -t 11019
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11019.diff