Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2645a1e90e1c5a900b1df995cd44e6c29ee06ad6
      
https://github.com/WebKit/WebKit/commit/2645a1e90e1c5a900b1df995cd44e6c29ee06ad6
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/jit/ExecutableAllocator.cpp
    M Source/WTF/wtf/ByteOrder.h
    M Source/WTF/wtf/UUID.cpp
    M Source/WTF/wtf/UUID.h

  Log Message:
  -----------
  [JSC] Emit dyld tracepoint to tell system profiler about JIT code region
https://bugs.webkit.org/show_bug.cgi?id=271419
rdar://125196249

Reviewed by Justin Michaud.

This patch emits fake dyld tracepoint which tells our system profiler (see 
SystemTracing.h) about JIT code region.
We need to assign good UUID to this JIT code region. And since this is JIT 
code, each process has different JIT code.
Thus, we create v5 UUID from process ID and namespace UUID and attach it to JIT 
code region.

* Source/JavaScriptCore/jit/ExecutableAllocator.cpp:
(JSC::initializeJITPageReservation):
* Source/WTF/wtf/ByteOrder.h:
(WTF::bswap64):
* Source/WTF/wtf/UUID.cpp:
(WTF::UUID::createVersion5):
* Source/WTF/wtf/UUID.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to