Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for 'dynamic profile cache corruptted' issue
while deserializing and allocating recycler memory, which can trigger GC, and call into JavascriptLibrary finalizer and causes scriptContext closing, and causes dynamic profile info serializing, which causes the *record above be freed and after GC returns, the deserializing will be reading freed and reused memory, which behaves like dynamic profile cache corrupted. Fixing this with not updating the record when serializing dpc for same file -- always use the first one or the loaded from file
- Loading branch information