Skip to content
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

[Backport] 8139457: Relax alignment of array elements #67

Merged
merged 4 commits into from
Jun 24, 2024

Conversation

linade
Copy link
Collaborator

@linade linade commented Jun 20, 2024

This pull request backports the following patches:

8139457: Relax alignment of array elements
8327426: RISC-V: Move alignment shim into initialize_header() in C1_MacroAssembler::allocate_array
8331098: [Aarch64] Fix crash in Arrays.equals() intrinsic with -CCP

All applies cleanly. Additionally we fix one typo.

8139457 and 8331098 changes alignment requirement for array headers, and fix one bug that's caused.
8327426 is only there to make the code look more like the lilliput21 branch, so that future lilliput patches apply more easily.

rkennke and others added 4 commits June 20, 2024 15:26
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: stuefe, stefank, shade, coleenp, kdnilsen, aboldtch
…acroAssembler::allocate_array

Reviewed-by: fyang
@CLAassistant
Copy link

CLAassistant commented Jun 20, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 3 committers have signed the CLA.

❌ rkennke
❌ zifeihan
❌ linade
You have signed the CLA already but the status is still pending? Let us recheck it.

@linade linade requested review from weixlu and mmyxym June 20, 2024 09:45
@mmyxym
Copy link
Collaborator

mmyxym commented Jun 20, 2024

As the commits are clean backports, could you please describe the additional typo change?

@linade
Copy link
Collaborator Author

linade commented Jun 20, 2024

As the commits are clean backports, could you please describe the additional typo change?

doing a diff with lilliput21 branch reveals this typo

@@ -57,7 +57,7 @@ private static void initialize(TypeDataBase db) throws WrongTypeException {
private static long lengthOffsetInBytes=0;
private static long typeSize;

// Check whether an element of a arrayOop with the given type must be
// Check whether an element of an arrayOop with the given type must be
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The typo change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@mmyxym mmyxym left a comment

Choose a reason for hiding this comment

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

LGTM

@weixlu
Copy link
Collaborator

weixlu commented Jun 24, 2024

LGTM

@linade linade merged commit 9e78282 into dragonwell-project:master Jun 24, 2024
90 of 91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants