-
Notifications
You must be signed in to change notification settings - Fork 710
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
Check if pointer is in SCC #8327
Conversation
Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
TR_J9SharedCache::getClassChainOffsetOfIdentifyingLoaderForClazzInSharedCache makes a call to offsetInSharedCacheFromPointer which will assert if the pointer is not in the SCC. However, because of HCR, it is possible that the class pointer we have no longer has a romclass in the SCC; see eclipse-openj9#7379 for details on this - this PR adds a check that was missed in 7379. Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
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.
LGTM.
Jenkins test sanity all jdk8,jdk13 |
not sure if we're still only supposed to launch tests for one jdk version at a time. Will kick off only jdk8 for now. |
Jenkins test sanity all jdk8 |
Jenkins test sanity all jdk11 |
s390x jdk8 tests failed to run due to infra issues, but since jdk11 tests ran and passed and everything else passed I think that's sufficient. |
@dsouzai is there an Issue that is fixed by this? |
|
No issue created as this assert was seen internally. |
Yeah that's right; I have no idea what the root cause is for that issue. I'll likely have to add some asserts and kick off Jenkins builds and "debug" it that way. |
Yet another PR to catch a case where HCR caused a class that used to be in the SCC to not be in the SCC. I missed this path when I opened #7379.