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

Avoid double scan stacks in continuation for compact cases #16022

Merged
merged 1 commit into from
Oct 5, 2022

Commits on Oct 4, 2022

  1. Avoid double scan stacks in continuation for compact case

    When virtual thread mounts to J9VMThread, the GC might scan java stack
    of the related continuation twice (one from
    J9VMThread.currentContinuation during thread scanning, another one from
    the related live continuation Object).
    Scan twice the same java stack during compaction fix-up might cause
    wrong double fixup and we also might need to both scan for concurrent
     case(there is no issue for double scan in concurrent collectors).
     so we stop to scan the stack of the continuation Object, which is
    mounted to the J9VMThread for STW collectors.
    
    Signed-off-by: Lin Hu <linhu@ca.ibm.com>
    LinHu2016 committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    304431e View commit details
    Browse the repository at this point in the history