Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b88589e9abd8178d7b9945414c2d76e4bb967cb
      
https://github.com/WebKit/WebKit/commit/7b88589e9abd8178d7b9945414c2d76e4bb967cb
  Author: Vassili Bykov <[email protected]>
  Date:   2026-04-10 (Fri, 10 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/VM.cpp
    M Source/JavaScriptCore/runtime/VM.h

  Log Message:
  -----------
  JSPI polish: look into getting rid of VM::m_evacuatedStacksLock
https://bugs.webkit.org/show_bug.cgi?id=307562
rdar://170156013

Reviewed by Keith Miller.

VM::m_evacuatedStacksLock protects access to m_evacuatedStackSlices and
m_evacuatedCalleeSaves. Those two collections are written by a mutator thread 
holding the
API lock and read while the world is stopped, so they don't actually need 
protection. This
patch removes the lock and replaces its uses with assertions of the expected 
system state.

Testing: covered by existing tests.
Canonical link: https://commits.webkit.org/310955@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to