This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


The following commit(s) were added to refs/heads/main by this push:
     new c891bb595d remove zgc pause space (#544)
c891bb595d is described below

commit c891bb595d82ca871ca34b46ac16d73d5c40c61b
Author: xu1009 <[email protected]>
AuthorDate: Thu Jun 1 22:04:59 2023 +0800

    remove zgc pause space (#544)
---
 .../java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java
 
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java
index 4c123fa45d..bffaf4d850 100644
--- 
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java
+++ 
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/ZGCModule.java
@@ -54,7 +54,7 @@ public class ZGCModule implements GCMetricAccessor {
                 long collectionCount = bean.getCollectionCount();
                 gcCount = collectionCount - lastNormalGCCount;
                 lastNormalGCCount = collectionCount;
-            } else if (name.equals(" ZGC Pauses")) {
+            } else if (name.equals("ZGC Pauses")) {
                 long time = bean.getCollectionTime();
                 gcTime = time - lastNormalGCTime;
                 lastNormalGCTime = time;

Reply via email to