Changeset 245667 in webkit for trunk/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp
- Timestamp:
- May 22, 2019, 6:22:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp
r232070 r245667 48 48 // be freed, since we require the GC to wait until all concurrent JITing 49 49 // finishes. 50 // 51 // But one exception is vector length. We access vector length to get the vector 52 // length hint. However vector length can be accessible only from the main 53 // thread because large butterfly can be realloced in the main thread. 54 // So for now, we update the allocation profile only from the main thread. 50 55 56 ASSERT(!isCompilationThread()); 51 57 JSArray* lastArray = m_lastArray; 52 58 if (!lastArray)
Note:
See TracChangeset
for help on using the changeset viewer.