This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unreviewed, revert "The extraMemorySize() get wrong when transferring…
… ArrayBuffer from Worker VM" https://bugs.webkit.org/show_bug.cgi?id=241826 rdar://95384643 This reverts commit 71960be. m_extraMemorySize must be monotonically increasing during GC cycles until full-collection happens. And after the full-collection, it is adjusted. We already adjusted it in sweep of m_arrayBuffer, so, we should not reduce that number. This is used for GC invocation scheduling. So, if we would like to have a number which more precisely reflecting the current status, then we should have yet another one. And we can still use extraMemorySize since it will be adjusted after the full-collection. So we can consider that transferred array-buffer is collected at the full-collection. Canonical link: https://commits.webkit.org/251708@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 5 changed files with 0 additions and 27 deletions.