How Does V8 Handle Objects In "large Object Space"
I've read in V8 wiki that there's large object space in heap which is not moved by GC. Large-object-space: This space contains objects which are larger than the size limits of oth
Solution 1:
(V8 developer here.) Bergi's comment is correct. Large objects are not moved to large object space, they are created in large object space. As long as they are alive, they are not moved. But they are garbage collected like any other object: when the GC detects that they are no longer live, the memory will be freed. In general, freeing dead objects does not involve moving them.
Baca Juga
- Performance Guidelines For Async/await In Node Version 8
- In Javascript V8 Does Compilation Phase Happen To Functions Before Execution Phase Then All The Code Is Executed Or Only For Global Context
- Are Stores Created In The Initcomponent Function Memory Leaks Once The Component Is Destroyed Or Will These Stores Be Garbage Collected?
Post a Comment for "How Does V8 Handle Objects In "large Object Space""