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

RDK-588: limit conservative scan range #1416

Open
wants to merge 1 commit into
base: wpe-2.38
Choose a base branch
from

Commits on Oct 15, 2024

  1. [2.38] limit conservative scan range

    Turns out that conservative GC root scanning is going too deep into the stack
    and this may prevent the collection of objects - see:
    
    WebPlatformForEmbedded#1363
    
    The change introduces 'stack guards' that prevent this in particular cases,
    that is - if there is gloop main loop routine in the stack the GC root stack search
    will not go deeper that this frame. This avoids some 'false positives' conservative roots
    that can make the app hold a lot of memory.
    tomasz-karczewski-red committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a301af9 View commit details
    Browse the repository at this point in the history