[PATCH] D88350: scudo: Re-order Allocator fields for improved performance. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 11:52:17 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe851aeb0a508: scudo: Re-order Allocator fields for improved performance. NFCI. (authored by pcc).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88350/new/

https://reviews.llvm.org/D88350

Files:
  compiler-rt/lib/scudo/standalone/combined.h


Index: compiler-rt/lib/scudo/standalone/combined.h
===================================================================
--- compiler-rt/lib/scudo/standalone/combined.h
+++ compiler-rt/lib/scudo/standalone/combined.h
@@ -950,12 +950,6 @@
 
   static const uptr MaxTraceSize = 64;
 
-  GlobalStats Stats;
-  TSDRegistryT TSDRegistry;
-  PrimaryT Primary;
-  SecondaryT Secondary;
-  QuarantineT Quarantine;
-
   u32 Cookie;
 
   struct {
@@ -968,6 +962,12 @@
     u32 QuarantineMaxChunkSize; // quarantine_max_chunk_size
   } Options;
 
+  GlobalStats Stats;
+  PrimaryT Primary;
+  SecondaryT Secondary;
+  QuarantineT Quarantine;
+  TSDRegistryT TSDRegistry;
+
 #ifdef GWP_ASAN_HOOKS
   gwp_asan::GuardedPoolAllocator GuardedAlloc;
 #endif // GWP_ASAN_HOOKS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88350.294772.patch
Type: text/x-patch
Size: 757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200928/5e8f866c/attachment.bin>


More information about the llvm-commits mailing list