-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing concurrent continuation scanning issue
The issue is caused by concurrent scavenger scanning and concurrent marking scanning overlap for the same continuation Object, during concurrent continuation scanning, the current synchronization control would block the continuation mounting and ignore another concurrent scanning, but the concurrent scavenger scanning and concurrent marking are irrelevant, ignore another could cause missing scanning and the related "live" object is recycled. - updated J9VMContinuation->state, use two low bits for recording concurrentScanning(bit0 for concurrentScanningLocal and bit1 for concurrentScanningGlobal) instead of only one low bit. - pass flag isConcurrentGC and flag isGlobalGC for GC_VMThreadStackSlotIterator::scanSlots(). - handle J9_GC_CONTINUATION_STATE_CONCURRENT_SCAN_LOCAL and J9_GC_CONTINUATION_STATE_CONCURRENT_SCAN_GLOBAL independently - only both J9_GC_CONTINUATION_STATE_CONCURRENT_SCAN_LOCAL and J9_GC_CONTINUATION_STATE_CONCURRENT_SCAN_GLOBAL bits has been cleared we can notify blocked the continuation mounting thread. Signed-off-by: Lin Hu <linhu@ca.ibm.com>
- Loading branch information
Showing
17 changed files
with
133 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.