Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W
webkit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • App_Technologies
  • webkit
  • Repository

Switch branch/tag
  • webkit
  • Source
  • JavaScriptCore
  • runtime
  • GCActivityCallback.cpp
Find file BlameHistoryPermalink
  • mhahnenberg@apple.com's avatar
    Heap::collect shouldn't be responsible for sweeping · 5bc6cc33
    mhahnenberg@apple.com authored Jan 07, 2014
    https://bugs.webkit.org/show_bug.cgi?id=126556
    
    Reviewed by Geoffrey Garen.
    
    Sweeping happens at an awkward time during collection due to the fact that destructors can 
    cause arbitrary reentry into the VM. This patch separates collecting and sweeping, and delays 
    sweeping until after collection has completely finished.
    
    * heap/Heap.cpp:
    (JSC::Heap::collectAllGarbage):
    (JSC::Heap::collect):
    (JSC::Heap::collectIfNecessaryOrDefer):
    * heap/Heap.h:
    * heap/MarkedSpace.cpp:
    (JSC::MarkedSpace::sweep):
    * runtime/GCActivityCallback.cpp:
    (JSC::DefaultGCActivityCallback::doWork):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5bc6cc33
GCActivityCallback.cpp 5.16 KB
EditWeb IDE

Replace GCActivityCallback.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.