Skip to content

Commit d2d381e

Browse files
committed
Further minor fixes
1 parent f0c51be commit d2d381e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler-rt/lib/scudo/standalone/primary32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ template <typename Config> class SizeClassAllocator32 {
882882
const uptr AvailableChunks = Sci->AllocatedUser / BlockSize;
883883
Str->append(
884884
" %02zu (%6zu): mapped: %6zuK popped: %7zu pushed: %7zu "
885-
"inuse: %6zu avail: %6zu release attempted: %6zu last released: %6zuK "
885+
"inuse: %6zu avail: %6zu releases attempted: %6zu last released: %6zuK "
886886
"latest pushed bytes: %6zuK\n",
887887
ClassId, getSizeByClassId(ClassId), Sci->AllocatedUser >> 10,
888888
Sci->FreeListInfo.PoppedBlocks, Sci->FreeListInfo.PushedBlocks, InUse,

compiler-rt/lib/scudo/standalone/primary64.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ template <typename Config> class SizeClassAllocator64 {
530530

531531
struct ReleaseToOsInfo {
532532
uptr BytesInFreeListAtLastCheckpoint;
533-
uptr NumReleaseAttempted;
533+
uptr NumReleasesAttempted;
534534
uptr LastReleasedBytes;
535535
// The minimum size of pushed blocks to trigger page release.
536536
uptr TryReleaseThreshold;
@@ -1144,12 +1144,12 @@ template <typename Config> class SizeClassAllocator64 {
11441144
Str->append(
11451145
"%s %02zu (%6zu): mapped: %6zuK popped: %7zu pushed: %7zu "
11461146
"inuse: %6zu total: %6zu releases: %6zu last "
1147-
"release attempted: %6zuK latest pushed bytes: %6zuK region: 0x%zx "
1147+
"releases attempted: %6zuK latest pushed bytes: %6zuK region: 0x%zx "
11481148
"(0x%zx)\n",
11491149
Region->Exhausted ? "E" : " ", ClassId, getSizeByClassId(ClassId),
11501150
Region->MemMapInfo.MappedUser >> 10, Region->FreeListInfo.PoppedBlocks,
11511151
Region->FreeListInfo.PushedBlocks, InUseBlocks, TotalChunks,
1152-
Region->ReleaseInfo.NumReleaseAttempted,
1152+
Region->ReleaseInfo.NumReleasesAttempted,
11531153
Region->ReleaseInfo.LastReleasedBytes >> 10,
11541154
RegionPushedBytesDelta >> 10, Region->RegionBeg,
11551155
getRegionBaseByClassId(ClassId));

0 commit comments

Comments
 (0)