chakra-core / chakra-core/ChakraCore

Assert less-than-pointer allocation to be leaf

Open
#880 2 comments 0 reactions 0 assignees View on GitHub
Codebase Quality Task
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I hit some less-than-pointer (like 3 bytes on x86) allocation with leaf bit off in both chakra and memGC
we should fix the caller(runtime code) to make such allocation is leaf, the benefits are:
1. reduce addresses to scan
2. reduce false positive in marking

we can add an assert in recycler to find out such allocations

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.