Visit certain unvisited ROMClass header slots#18568
Visit certain unvisited ROMClass header slots#18568babsingh merged 1 commit intoeclipse-openj9:masterfrom
Conversation
The allSlotsInROMClassDo() function now visits every slot in a J9ROMClass header. Signed-off-by: Christian Despres <despresc@ibm.com>
|
Attn @mpirvu. While I was implementing the ROM class hashing changes, I found that the openj9/runtime/util/romclasswalk.c Line 1419 in 051b08e but it doesn't appear to walk the actual SRP to the call site data itself. Since I was already fixing the one field, I added in slot callbacks for the other fields of openj9/runtime/oti/j9nonbuilder.h Line 3501 in 9ab4edb It didn't seem likely that they were omitted for any particular reason, but it's possible they were. I'm unsure if other walking methods need to be similarly fixed. |
|
Ideally there would be a test that all of the slots are visited (or at least all of the SRPs). I could see a modified |
|
@TobiAjila Could you please suggest a reviewer for this VM related item? Thanks |
|
jenkins test sanity.functional,sanity.openjdk zlinux jdk21 |
|
@cjjdespres Are you tracking any failures which will be resolved by this PR? |
Sort of. I came across it while testing some code I'll be adding to my PR #18301, which will involve visiting all the SRPs in a ROM class. This PR is a prerequisite for that one, in that sense. I'm not aware of any existing failures caused by not visiting these slots. |
|
The test failure in |
|
@babsingh The test was successful (excepting the known issue). If you agree, I could merge this item. |
The allSlotsInROMClassDo() function now visits every slot in a J9ROMClass header.