Skip to content

Commit c891bb5

Browse files
authored
remove zgc pause space (#544)
1 parent 9733706 commit c891bb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc

apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public List<GC> getGCList() {
5454
long collectionCount = bean.getCollectionCount();
5555
gcCount = collectionCount - lastNormalGCCount;
5656
lastNormalGCCount = collectionCount;
57-
} else if (name.equals(" ZGC Pauses")) {
57+
} else if (name.equals("ZGC Pauses")) {
5858
long time = bean.getCollectionTime();
5959
gcTime = time - lastNormalGCTime;
6060
lastNormalGCTime = time;

0 commit comments

Comments
 (0)