Skip to content

Enable checks on array copies for String.getBytes()#23449

Open
knn-k wants to merge 1 commit intoeclipse-openj9:masterfrom
knn-k:fix23353
Open

Enable checks on array copies for String.getBytes()#23449
knn-k wants to merge 1 commit intoeclipse-openj9:masterfrom
knn-k:fix23353

Conversation

@knn-k
Copy link
Contributor

@knn-k knn-k commented Mar 5, 2026

Enable JIT checks on arraycopy operations for String.getBytes() in Java 21 and older.

Related issue: #23353

@knn-k knn-k added the comp:jit label Mar 5, 2026
@knn-k
Copy link
Contributor Author

knn-k commented Mar 5, 2026

Jenkins test sanity xlinux,alinux64 jdk21

@knn-k
Copy link
Contributor Author

knn-k commented Mar 5, 2026

Jenkins test sanity xlinux,alinux64 jdk21

@knn-k
Copy link
Contributor Author

knn-k commented Mar 5, 2026

The following jobs show that RacingSBThreads test passes with this change:

@knn-k knn-k marked this pull request as ready for review March 5, 2026 11:18
@knn-k knn-k force-pushed the fix23353 branch 2 times, most recently from 62d0a68 to c8fef04 Compare March 6, 2026 06:31
@knn-k
Copy link
Contributor Author

knn-k commented Mar 6, 2026

Jenkins test sanity amac jdk21,jdk25

@knn-k
Copy link
Contributor Author

knn-k commented Mar 9, 2026

Jenkins compile amac jdk21

@hzongaro hzongaro self-assigned this Mar 10, 2026
@hzongaro hzongaro self-requested a review March 10, 2026 12:23
Copy link
Member

@hzongaro hzongaro left a comment

Choose a reason for hiding this comment

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

I think the change looks good. I hate to nitpick about this, but may I ask you to modify the commit message to remove “PR” from the text, since the commit itself isn’t a PR? Perhaps something like this:

Enable JIT checks on arraycopy operations for String.getBytes() in
Java 21 and older.

@knn-k
Copy link
Contributor Author

knn-k commented Mar 11, 2026

I updated the commit message as suggested. No change in the code.

@knn-k
Copy link
Contributor Author

knn-k commented Mar 11, 2026

Jenkins test sanity amac jdk21

knn-k added a commit to knn-k/openj9 that referenced this pull request Mar 11, 2026
Enable JIT checks on arraycopy operations for String.getBytes() in
Java 21 and older.

Original PR in master: eclipse-openj9#23449

Signed-off-by: KONNO Kazuhiro <[email protected]>
@a7ehuo
Copy link
Contributor

a7ehuo commented Mar 11, 2026

This PR only partially fixes #23353 as per my comment: #23353 (comment) and #23353 (comment). Other changes are required to fix JDK8 and JDK11 and my investigation in JDK11 is still ongoing. Should the keyword Fixes: #23353 be updated to something like Related to #23353 in the commit message and the PR description?

Enable JIT checks on arraycopy operations for String.getBytes() in
Java 21 and older.

Related issue: eclipse-openj9#23353

Signed-off-by: KONNO Kazuhiro <[email protected]>
@knn-k
Copy link
Contributor Author

knn-k commented Mar 11, 2026

Thanks. I updated the commit message.

@knn-k
Copy link
Contributor Author

knn-k commented Mar 11, 2026

Jenkins test sanity amac jdk21

1 similar comment
@knn-k
Copy link
Contributor Author

knn-k commented Mar 12, 2026

Jenkins test sanity amac jdk21

@knn-k
Copy link
Contributor Author

knn-k commented Mar 17, 2026

@hzongaro Would you merge this PR if it looks good to you, please? Thanks.

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.

3 participants