Skip to content

Fix testHashTableCorrectness issue - #6683

Merged
babsingh merged 1 commit into
eclipse-omr:masterfrom
LinHu2016:ProjectLoom_gc
Sep 1, 2022
Merged

Fix testHashTableCorrectness issue#6683
babsingh merged 1 commit into
eclipse-omr:masterfrom
LinHu2016:ProjectLoom_gc

Conversation

@LinHu2016

@LinHu2016 LinHu2016 commented Sep 1, 2022

Copy link
Copy Markdown
Contributor
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 linhu@ca.ibm.com

Comment thread gc/base/standard/Scavenger.cpp Outdated
Comment thread gc/base/MarkingScheme.hpp Outdated
@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
Copy Markdown
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

babsingh commented Sep 1, 2022

Copy link
Copy Markdown
Contributor

I will review it.

@babsingh
babsingh self-requested a review September 1, 2022 16:33
@LinHu2016

Copy link
Copy Markdown
Contributor Author

I will review it.

Thanks @babsingh

@babsingh

babsingh commented Sep 1, 2022

Copy link
Copy Markdown
Contributor

@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 <linhu@ca.ibm.com>
@LinHu2016

Copy link
Copy Markdown
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

babsingh commented Sep 1, 2022

Copy link
Copy Markdown
Contributor

jenkins build all

@babsingh
babsingh merged commit 2eee78b into eclipse-omr:master Sep 1, 2022
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