Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2aaf1c5abd20badc9ef0fe531ee0d98183190f21
      
https://github.com/WebKit/WebKit/commit/2aaf1c5abd20badc9ef0fe531ee0d98183190f21
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/bytecode/CodeBlock.h

  Log Message:
  -----------
  [JSC] Use ApproximateTime for CodeBlock creation time
https://bugs.webkit.org/show_bug.cgi?id=256117
rdar://108683509

Reviewed by Justin Michaud and Mark Lam.

Creation time is used for time-to-live, and this is seconds-level thing.
We do not care about milliseconds-level precision for this. Let's just
use ApproximateTime instead of MonotonicTime.

* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
* Source/JavaScriptCore/bytecode/CodeBlock.h:
(JSC::CodeBlock::timeSinceCreation):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to