Skip to content

jvmti, reflection, getInterfaces and ctor comments #1

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

Closed
wants to merge 1 commit into from

Conversation

DanHeidinga
Copy link
Contributor

@DanHeidinga DanHeidinga commented May 5, 2021

Comments prior to the May 5 2021 EG call

Signed-off-by: Dan Heidinga heidinga@redhat.com


Progress

  • Change must not contain extraneous whitespace

Error

 ⚠️ Executable files are not allowed (file: site/design-notes/state-of-valhalla/03-vm-model.md)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1

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

Using diff file

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

Signed-off-by: Dan Heidinga <heidinga@redhat.com>
@bridgekeeper bridgekeeper bot added the oca Needs verification of OCA signatory status label May 5, 2021
@bridgekeeper
Copy link

bridgekeeper bot commented May 5, 2021

Hi @DanHeidinga, welcome to this OpenJDK project and thanks for contributing!

We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing /signed in a comment in this pull request.

If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user DanHeidinga" as summary for the issue.

If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing /covered in a comment in this pull request.

@DanHeidinga DanHeidinga changed the title jvmti, reflection, and ctor comments jvmti, reflection, getInterfaces and ctor comments May 5, 2021
@@ -613,12 +622,28 @@ and that `I` is really (somehow) an exotic (`Q`-like) descriptor for
`int.val`. The `L` descriptor returns `int.ref.class`, while the
exotic descriptor returns `int.val.class`.

[ Which mirror defines the fields for apis like `getFields()`?]
Copy link
Contributor Author

@DanHeidinga DanHeidinga May 5, 2021

Choose a reason for hiding this comment

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

Discussed on today's call and the conclusion was that there is a single set of metadata shared by both mirrors. So it doesn't matter which is used in reflective getX operations

* How do we treat the two mirrors generated from a single primitive classfile?
* Is the `ref` version marked as non-modifable (treating the `val` one as the `true`
class)?
* Does the CFLH get called once (for the classfile) or twice (for `val` & `ref`)?
Copy link
Contributor Author

@DanHeidinga DanHeidinga May 5, 2021

Choose a reason for hiding this comment

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

From today's call, there is a single set of metadata so 1 CFLH will be called. Redefining either mirror is OK and affects both.

muster if we were designing the feature without the weight of existing test
suites. Are there other concerns than the existing test suites? Given the
other more significant changes in the ecosystem, I'm unclear why this one
is worth avoiding.]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreement on today's call was to not hide the injected interfaces and use the preview phase to judge the fallout

@DanHeidinga
Copy link
Contributor Author

/covered

@bridgekeeper bridgekeeper bot added the oca-verify Needs verification of OCA signatory status label May 5, 2021
@bridgekeeper
Copy link

bridgekeeper bot commented May 5, 2021

Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated!

@bridgekeeper bridgekeeper bot removed oca Needs verification of OCA signatory status oca-verify Needs verification of OCA signatory status labels May 13, 2021
@openjdk
Copy link

openjdk bot commented Feb 17, 2023

@DanHeidinga this pull request can not be integrated into main 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 djh/eg_may_5_2021
git fetch https://git.openjdk.org/valhalla-docs main
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge main"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Feb 17, 2023
@bridgekeeper
Copy link

bridgekeeper bot commented Dec 5, 2023

@DanHeidinga This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@DanHeidinga
Copy link
Contributor Author

This is no longer relevant.

@DanHeidinga DanHeidinga closed this Dec 5, 2023
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.

1 participant