-
- Downloads
Bug 1900050 - Optimize CycleCollectedRuntime's sweeping of nursery wrappers a little r=sfink,mccr8
This adds js::gc::InCollectedNurseryRegion which is fully inlinable and makes JSObjectsTenured call the finalizers directly. I don't think this makes a massive difference but it's still probably worth doing. Differential Revision: https://phabricator.services.mozilla.com/D212290
Showing
- js/public/GCAPI.h 6 additions, 13 deletionsjs/public/GCAPI.h
- js/public/HeapAPI.h 11 additions, 0 deletionsjs/public/HeapAPI.h
- js/src/gc/GC.cpp 1 addition, 1 deletionjs/src/gc/GC.cpp
- js/src/gc/GCAPI.cpp 2 additions, 19 deletionsjs/src/gc/GCAPI.cpp
- js/src/gc/Nursery-inl.h 1 addition, 2 deletionsjs/src/gc/Nursery-inl.h
- xpcom/base/CycleCollectedJSRuntime.cpp 9 additions, 12 deletionsxpcom/base/CycleCollectedJSRuntime.cpp
- xpcom/base/CycleCollectedJSRuntime.h 2 additions, 2 deletionsxpcom/base/CycleCollectedJSRuntime.h
Loading
Please register or sign in to comment