Skip to content

Stop trusting parameter types for bastore in DLT - #15543

Merged
0xdaryl merged 1 commit into
eclipse-openj9:masterfrom
jdmpapin:dlt-param-byte-array-trunc
Jul 20, 2022
Merged

Stop trusting parameter types for bastore in DLT#15543
0xdaryl merged 1 commit into
eclipse-openj9:masterfrom
jdmpapin:dlt-param-byte-array-trunc

Conversation

@jdmpapin

Copy link
Copy Markdown
Contributor

The bytecode may have stored a byte[] reference into a boolean[] parameter slot, or vice versa, on a path that does not get translated into IL for the DLT compilation. In that case, the compiler could incorrectly treat certain bstorei nodes as though the array type is known based on the signature of a parameter.

The bytecode may have stored a byte[] reference into a boolean[]
parameter slot, or vice versa, on a path that does not get translated
into IL for the DLT compilation. In that case, the compiler could
incorrectly treat certain bstorei nodes as though the array type is
known based on the signature of a parameter.
@jdmpapin
jdmpapin requested a review from 0xdaryl July 14, 2022 14:06
@jdmpapin

Copy link
Copy Markdown
Contributor Author

This is a follow-up to fix the problem I found while reviewing #15393

@0xdaryl, would you mind reviewing this?

@0xdaryl

0xdaryl commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity all jdk17

@0xdaryl 0xdaryl self-assigned this Jul 19, 2022
@0xdaryl
0xdaryl merged commit 81d7490 into eclipse-openj9:master Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants