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

Use migrated value classes in Valhalla functional tests #20656

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

theresa-m
Copy link
Contributor

@theresa-m theresa-m commented Nov 20, 2024

Depends on: #20652 #20642

Related: #20386

@theresa-m theresa-m added comp:test project:valhalla Used to track Project Valhalla related work labels Nov 20, 2024
@theresa-m theresa-m force-pushed the fix_20386 branch 2 times, most recently from 7f16319 to 2ff20f3 Compare November 26, 2024 19:04
@theresa-m theresa-m requested a review from hangshao0 November 26, 2024 19:18
@theresa-m
Copy link
Contributor Author

I rebased these changes with #20652 and #20642. This is ready to be reviewed.

@hangshao0
Copy link
Contributor

Jenkins test sanity.functional,extended plinuxval jdknext

@theresa-m theresa-m marked this pull request as draft November 26, 2024 21:26
 java/lang/Integer was migrated to a value type

Signed-off-by: Theresa Mammarella <[email protected]>
@theresa-m theresa-m marked this pull request as ready for review November 28, 2024 21:39
@theresa-m
Copy link
Contributor Author

The extensions failures should be fixed now.

These tests are accessing a field of type java.lang.Object
 that is initialized with the value ValueTypeTests.defaultObject
 which is an Integer.
static Object defaultObject = (Object)0xEEFFEEFF;
java.lang.Integer has been migrated to a value class and will not
contain a lockword so the expected index has moved.

Signed-off-by: Theresa Mammarella <[email protected]>
@hangshao0
Copy link
Contributor

Jenkins test sanity.functional,extended zlinuxval jdknext

@hangshao0 hangshao0 merged commit f8939d1 into eclipse-openj9:master Dec 4, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:test project:valhalla Used to track Project Valhalla related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants