From 58efb2b04bdfbc259e049b302c355fffc410d41d Mon Sep 17 00:00:00 2001 From: klzgrad Date: Tue, 7 Apr 2026 20:19:51 +0800 Subject: [PATCH] macos: allocator: Disable double registration check --- src/base/allocator/early_zone_registration_apple.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/base/allocator/early_zone_registration_apple.cc b/src/base/allocator/early_zone_registration_apple.cc index 416e541436..a7942f9a70 100644 --- a/src/base/allocator/early_zone_registration_apple.cc +++ b/src/base/allocator/early_zone_registration_apple.cc @@ -201,12 +201,12 @@ void EarlyMallocZoneRegistration() { "The delegating default zone has unexpectedly already been " "registered."); } - if (allocator_shim::IsZoneAlreadyRegistered( - allocator_shim::kPartitionAllocZoneName)) { - abort_report_np( - "The PartitionAlloc default zone has unexpectedly already been " - "registered."); - } + // if (allocator_shim::IsZoneAlreadyRegistered( + // allocator_shim::kPartitionAllocZoneName)) { + // abort_report_np( + // "The PartitionAlloc default zone has unexpectedly already been " + // "registered."); + // } // Register puts the new zone at the end, unregister swaps the new zone with // the last one.