refactor(transformer/typescript): use a memory-safe implementation instead#3481
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Do you happen to know why that is? @overlookmotel |
CodSpeed Performance ReportMerging #3481 will not alter performanceComparing Summary
|
|
@Dunqing I can't say for sure in this case, but I strongly suspect the culprit is What is odd is that all the objects being dealt with in this code are in the arena and don't have |
2ef6928 to
25e5bdd
Compare
I got this warning after I changed First print Second print You will find that the left expression of these two results is different. This is very odd. |
2161788 to
6ea2bb2
Compare
|
I can't claim to understand what exactly is causing the problem, but the data corruption looks like a use-after-free. The change to But whatever the exact cause, I strongly suspect |
Yes! It's also very difficult to debug |
Merge activity
|
…stead (#3481) The previous implementation causes memory double free, but I don't know why.
6ea2bb2 to
9dc58d5
Compare


The previous implementation causes memory double free, but I don't know why.