Skip to content
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 testHashTableCorrectness issue #6683

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

LinHu2016
Copy link
Contributor

@LinHu2016 LinHu2016 commented Sep 1, 2022

fixupForwardedSlot(mrobjectptr_t *slotPtr) has been created for
sharing code between scanMixObject and scan Java stack of continuation
Object in PR6575, we need to pull concurrent scavenger and backout
conditions outside to avoid racing condition to update slot reference
during concurrent marking.

- also update initialize scanCache->_shouldBeRemembered earlier to avoid
overwriting the flag, which could be updated via getObjectScanner()

fix: eclipse-openj9/openj9#15791
Signed-off-by: Lin Hu [email protected]

gc/base/MarkingScheme.hpp Outdated Show resolved Hide resolved
@LinHu2016 LinHu2016 force-pushed the ProjectLoom_gc branch 2 times, most recently from 0221cfa to c5dbb56 Compare September 1, 2022 14:50
@LinHu2016
Copy link
Contributor Author

Hi @dsouzai, Could you please review and merge this PR? it is for fixing the blocker issue (eclipse-openj9/openj9#15791), Thanks

@babsingh
Copy link
Contributor

babsingh commented Sep 1, 2022

I will review it.

@babsingh babsingh self-requested a review September 1, 2022 16:33
@LinHu2016
Copy link
Contributor Author

I will review it.

Thanks @babsingh

@babsingh
Copy link
Contributor

babsingh commented Sep 1, 2022

@LinHu2016

  • Can you fix the commit message - there is unneeded intent?
  • Have the OpenJ9 builds passed with these changes?

fixupForwardedSlot(mrobjectptr_t *slotPtr) has been created for
sharing code between scanMixObject and scan Java stack of continuation
Object in PR6575, we need to pull concurrent scavenger and backout
conditions outside to avoid racing condition to update slot reference
during concurrent marking.

- also update initialize scanCache->_shouldBeRemembered earlier
to avoid overwriting the flag, which could be updated via
getObjectScanner().

Signed-off-by: Lin Hu <[email protected]>
@LinHu2016
Copy link
Contributor Author

@babsingh there are jenkins issues, the personal build is not very stable, but the change for this PR has passed the grinder tests for the related issue.

https://hyc-runtimes-jenkins.swg-devops.com/view/OpenJ9%20-%20Personal/job/Pipeline-Build-Test-Personal/14050/
https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/27031/

@babsingh
Copy link
Contributor

babsingh commented Sep 1, 2022

jenkins build all

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.

TestHashTableCorrectness_0 NoSuchElementException in OMR acceptance build
3 participants