[webkit-changes] [WebKit/WebKit] 703536: [JSC] Use WriteBarrierEarlyInit for JSLexicalEnvir...

Yusuke Suzuki noreply at github.com
Wed Mar 6 01:04:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7035360227f653be3b93de01a9f6f324764e1ee9
      https://github.com/WebKit/WebKit/commit/7035360227f653be3b93de01a9f6f324764e1ee9
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSSymbolTableObject.h

  Log Message:
  -----------
  [JSC] Use WriteBarrierEarlyInit for JSLexicalEnvironment's JSSymbolTableObject initialization
https://bugs.webkit.org/show_bug.cgi?id=270562
rdar://124120607

Reviewed by Alexey Shvayka.

Doing micro-optimization for super frequently allocated object (JSLexicalEnvironment). We can use WriteBarrierEarlyInit in the constructor.

* Source/JavaScriptCore/runtime/JSSymbolTableObject.h:
(JSC::JSSymbolTableObject::JSSymbolTableObject):

Canonical link: https://commits.webkit.org/275731@main



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


More information about the webkit-changes mailing list