Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6bd280ee5349f360af50fbe3601c110b381ca82
      
https://github.com/WebKit/WebKit/commit/a6bd280ee5349f360af50fbe3601c110b381ca82
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Source/JavaScriptCore/heap/CompleteSubspace.cpp
    M Source/JavaScriptCore/heap/IsoSubspace.cpp
    M Source/JavaScriptCore/heap/MarkedSpace.cpp
    M Source/JavaScriptCore/heap/MarkedSpace.h
    M Source/JavaScriptCore/heap/PreciseSubspace.cpp

  Log Message:
  -----------
  [JSC] Fix a bug not calling didAllocate for PreciseAllocation (from 
290699@main)
https://bugs.webkit.org/show_bug.cgi?id=288854
rdar://145872082

Reviewed by Yijia Huang.

290699@main accidentally removed didAllocate call for PreciseAllocation.
This patch fixes it. Also we use non default parameter to make
isNewAllocation parameter more explicit from the caller side.

* Source/JavaScriptCore/heap/CompleteSubspace.cpp:
(JSC::CompleteSubspace::tryAllocateSlow):
* Source/JavaScriptCore/heap/IsoSubspace.cpp:
(JSC::IsoSubspace::tryAllocateLowerTierPrecise):
* Source/JavaScriptCore/heap/MarkedSpace.cpp:
(JSC::MarkedSpace::registerPreciseAllocation):
* Source/JavaScriptCore/heap/MarkedSpace.h:
* Source/JavaScriptCore/heap/PreciseSubspace.cpp:
(JSC::PreciseSubspace::tryAllocate):

Canonical link: https://commits.webkit.org/291381@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