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

(0.42) Initialize recycled continuations in createContinuation before usage #18657

Merged
merged 1 commit into from
Dec 19, 2023

Commits on Dec 19, 2023

  1. Initialize recycled continuations in createContinuation before usage

    Currently, recycled continuations are reset and initialized in
    freeContinuation at the end of their use. There are also gaps where
    the recycled continuation might retain old values and not be properly
    reset.
    
    The above approach leads to corruption and segfaults as seen in
    the runJavaThread failure reported in eclipse-openj9#16728.
    
    To fix the above crash, all continuations (new and recycled) are
    initialized and reset in createContinuation just before the
    continuation begins execution.
    
    Related: eclipse-openj9#16728
    
    Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
    babsingh committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    cec7140 View commit details
    Browse the repository at this point in the history