-
Notifications
You must be signed in to change notification settings - Fork 722
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
Fix MemberName fields after Fast HCR and FSD #12799
Fix MemberName fields after Fast HCR and FSD #12799
Conversation
Currently, vmtarget updates with the old IDs, even if they are outdated. Perhaps in the future we could add some handling to improve UX. |
7429943
to
351c557
Compare
71e1108
to
1300808
Compare
WIP of function to be called on each heap object Signed-off-by: Eric Yang <eric.yang@ibm.com>
Need struct for the callback function to have access to the currentThread + Other compile error fixes
1aae587
to
01795c7
Compare
Changes build successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor formating suggestions, rest lgtm
I'm not sure this is doing what you expect - is the purpose of this to fix references from instance of MemberName to fields/methods of classes which have been redefined? |
It fixes the vmtarget field of every MemberName object using its already up to date vmindex field (updated by fixJNIRefs) and clazz field. |
Also, please resolve any conversations that have been completed. |
@gacholio Done.
|
It's not legal to cast between pointers and integers whose size does not match the size of a pointer. For the U64 case, this would fail to compile on some 32-bit platforms without the intermediate cast. The line you cited is not casting to a pointer. |
Move null hash table check to calling function Split if statement Add intermediate casts to UDATA
03e4d5c
to
eb49b20
Compare
jenkins test sanity zlinux jdk8 |
jenkins test sanity winojdk292 jdk16 depends ibmruntimes/openj9-openjdk-jdk16#29 |
@babsingh Please triage the failures. |
@gacholio In the above test build, |
@gacholio I had not squashed the commits when you merged. The commits/commit messages I made are not the most meaningful. Do you want this to be fixed? |
I think we may as well let it go this time (wish I had seen that before the merge). The only way to "correct" this would be to revert this and use a new PR with a single commit, which would just be even more churn. |
fixMemberNames
called after HCR to do a heap walk to fix allMemberName
objects'vmtarget
.MemberName->clazz
andMemberName->vmindex
have already been fixed by existing mechanisms.Issue: #11528
Signed-off-by: Eric Yang eric.yang@ibm.com