chakra-core / chakra-core/ChakraCore
Assert less-than-pointer allocation to be leaf
Open
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
Assessment
This issue has not been assessed yet.