Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
8338544: Dedicated Array class descriptor implementation #20665
base: master
Are you sure you want to change the base?
8338544: Dedicated Array class descriptor implementation #20665
Changes from 4 commits
0b51431
51e9945
d1f1729
a424ada
9eb2868
c648ce5
81c2fa0
f13588e
a1d1418
f6964d1
ba51c8d
e65fa6a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be singular as it's not required to have more than 1 implementation class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, in fact, should we still have this
@implSpec
if we make this default?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be dropped as
ClassDesc
as well. It can say "This method returns....". See what CSR review would say.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess
CD_Object.arrayType()
shows up often enough now - even once injava.lang.constant.ConstantDescs
- that we might as well pin it down as a constant somewhere (ConstantDescs
is a candidate location, but that will take a CSR).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch already has a CSR for trivial signature changes. The real difficulty lies in how we should name our new array class descriptors,
Object_array
orObjectArray
or what else?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That said, can you leave a quick review on CSR https://bugs.openjdk.org/browse/JDK-8340963 too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I will do this in another patch that adds it to
ConstantDescs
- there's a place inConstantDescs
that could have used it, but if I put it inConstantUtils
I fear we are at risk of circular initialization dependencies.