You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/01/12 12:44:24 UTC

[skywalking-data-collect-protocol] branch master updated: Support normal GC phrase for ZGC (#59)

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

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new e649f4d  Support normal GC phrase for ZGC (#59)
e649f4d is described below

commit e649f4d95841ea04d5ea8ce85de4fad03fda282c
Author: xu1009 <29...@qq.com>
AuthorDate: Wed Jan 12 20:44:21 2022 +0800

    Support normal GC phrase for ZGC (#59)
---
 language-agent/JVMMetric.proto | 1 +
 1 file changed, 1 insertion(+)

diff --git a/language-agent/JVMMetric.proto b/language-agent/JVMMetric.proto
index e35b71d..82e24ff 100644
--- a/language-agent/JVMMetric.proto
+++ b/language-agent/JVMMetric.proto
@@ -83,6 +83,7 @@ message GC {
 enum GCPhrase {
     NEW = 0;
     OLD = 1;
+    NORMAL = 2; // The type of GC doesn't have new and old phrases, like Z Garbage Collector (ZGC)
 }
 
 // See: https://docs.oracle.com/javase/8/docs/api/java/lang/management/ThreadMXBean.html