OSDN Git Service

Fix a minor formatting discrepancy in the GC log message.
authorCarl Shapiro <cshapiro@google.com>
Tue, 21 Sep 2010 20:28:21 +0000 (13:28 -0700)
committerCarl Shapiro <cshapiro@google.com>
Tue, 21 Sep 2010 20:28:21 +0000 (13:28 -0700)
Change-Id: Ia0233c78f11d5270eefd2b28c6ea239b7ff0de50

vm/alloc/Heap.c

index af348e3..44db822 100644 (file)
@@ -912,7 +912,7 @@ void dvmCollectGarbageInternal(bool clearSoftRefs, GcReason reason)
         u4 markSweepTime = dirtyEnd - rootStart;
         bool isSmall = numBytesFreed > 0 && numBytesFreed < 1024;
         totalTime = rootSuspendTime + markSweepTime;
-        LOGD("%s freed %s%zdK, %d%% free (%zdK/%zdK), external %zdK/%zdK, "
+        LOGD("%s freed %s%zdK, %d%% free %zdK/%zdK, external %zdK/%zdK, "
              "paused %ums",
              GcReasonStr[reason],
              isSmall ? "<" : "",
@@ -927,7 +927,7 @@ void dvmCollectGarbageInternal(bool clearSoftRefs, GcReason reason)
         u4 dirtyTime = dirtyEnd - dirtyStart;
         bool isSmall = numBytesFreed > 0 && numBytesFreed < 1024;
         totalTime = rootSuspendTime + rootTime + dirtySuspendTime + dirtyTime;
-        LOGD("%s freed %s%zdK, %d%% free (%zdK/%zdK), external %zdK/%zdK, "
+        LOGD("%s freed %s%zdK, %d%% free %zdK/%zdK, external %zdK/%zdK, "
              "paused %ums+%ums",
              GcReasonStr[reason],
              isSmall ? "<" : "",