Skip to content

Follow moved destObject in copyFlattenableArray - #17768

Merged
hangshao0 merged 1 commit into
eclipse-openj9:masterfrom
ehrenjulzert:copyFlattenableArray_bug_fix
Jul 11, 2023
Merged

Follow moved destObject in copyFlattenableArray#17768
hangshao0 merged 1 commit into
eclipse-openj9:masterfrom
ehrenjulzert:copyFlattenableArray_bug_fix

Conversation

@ehrenjulzert

Copy link
Copy Markdown

When calling loadFlattenableArrayElement it is possible that destObject gets moved by the GC. We can get the new, correct address by pushing and popping destObject in a special frame.

Fixes #17675

When calling loadFlattenableArrayElement it is possible that destObject gets
moved by the GC. We can get the new, correct address by pushing and popping
destObject in a special frame.

Fixes eclipse-openj9#17675

Signed-off-by: Ehren Julien-Neitzert <ehren.julien-neitzert@ibm.com>
@ehrenjulzert

Copy link
Copy Markdown
Author

@hangshao0
@a7ehuo FYI

@hangshao0
hangshao0 self-requested a review July 11, 2023 14:58
@hangshao0 hangshao0 added project:valhalla Used to track Project Valhalla related work comp:vm labels Jul 11, 2023
@hangshao0
hangshao0 requested review from theresa-m and removed request for hangshao0 July 11, 2023 14:59
@hangshao0

Copy link
Copy Markdown
Contributor

@theresa-m I added you as reviewer.

@theresa-m theresa-m left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me.

@hangshao0

Copy link
Copy Markdown
Contributor

Jenkins test sanity,extended xlinuxval jdknext

@hangshao0 hangshao0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@hangshao0
hangshao0 merged commit f5b7d4e into eclipse-openj9:master Jul 11, 2023
@alexiskitten

Copy link
Copy Markdown

@ehrenjulzert Is there any way to contact you?

@theresa-m

Copy link
Copy Markdown
Contributor

Hey @alexiskitten if you have any questions about this pr commenting here or on the OpenJ9 slack are the best places to reach the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm project:valhalla Used to track Project Valhalla related work

Projects

None yet

4 participants