-
Notifications
You must be signed in to change notification settings - Fork 728
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
ValueTypes: TestArrayCopyWithOops #20522
Comments
Issue Number: 20522 |
I'm able to reproduce an intermittent NPE on x86 with this test. I'll take a look at NPE first
|
I tried this out again and I get the NPE as well if I run the test individually (TEST="compiler/valhalla/inlinetypes/TestArrayCopyWithOops.java"). When I run the full suite and modify |
The failed subtest is In preparation for the transformation of Before VP does
[1]
[2]
[3]
[4]
|
|
When preparing for null restricted arraycopy transformation, there are temps created for the source array and the destination array. Other sub transformations that run after the preparation and before null-restrcited arraycopy transformation are not aware of these temps. These temps might not get updated properly. This change replaces all the commoned source array node and commoned destination array node with the temps right after the temps are created. Fixes: eclipse-openj9/openj9#20522 Signed-off-by: Annabelle Huo <[email protected]>
If null-restricted array is enabled and the class is an array class, the null-restricted array class and the nullable array class share the same signature. The null-restricted array can be viewed as a sub-type of the nullable array. Therefore, the constraint cannot be fixed class. Related: eclipse-openj9/openj9#20522 Signed-off-by: Annabelle Huo <[email protected]>
Test: compiler/valhalla/inlinetypes/TestArrayCopyWithOops.java
Use ibmruntimes/openj9-openjdk-jdk.valuetypes#14 to run the tests
Related to #13182
@a7ehuo can you take a look at this when you have time? The test does not fail with
-Xint
The text was updated successfully, but these errors were encountered: