[webkit-changes] [WebKit/WebKit] fb0e45: [JSC] Use ObjectIdentifier for VM ID

Yusuke Suzuki noreply at github.com
Mon Oct 24 18:23:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb0e4542ac38eac2942c834a78b582865d98a73c
      https://github.com/WebKit/WebKit/commit/fb0e4542ac38eac2942c834a78b582865d98a73c
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

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

  Log Message:
  -----------
  [JSC] Use ObjectIdentifier for VM ID
https://bugs.webkit.org/show_bug.cgi?id=246970

Reviewed by Justin Michaud.

Juse use ObjectIdentifier for VM ID to use it for non debugging purpose.

* Source/JavaScriptCore/heap/Heap.cpp:
(JSC::Heap::checkConn):
* Source/JavaScriptCore/runtime/VM.cpp:
(JSC::VM::VM):
(JSC::VM::nextID): Deleted.
* Source/JavaScriptCore/runtime/VM.h:
(JSC::VM::identifier const):
(JSC::VM::numberOfIDs): Deleted.
(JSC::VM::id const): Deleted.

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




More information about the webkit-changes mailing list