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-sheng (via GitHub)" <gi...@apache.org> on 2023/05/30 13:44:23 UTC
[GitHub] [skywalking-java] wu-sheng commented on a diff in pull request #541: Support jdk17 zgc
wu-sheng commented on code in PR #541:
URL: https://github.com/apache/skywalking-java/pull/541#discussion_r1210298127
##########
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/gc/GCModule.java:
##########
@@ -88,4 +98,12 @@ public List<GC> getGCList() {
protected abstract String getNewGCName();
protected abstract String getNormalGCName();
+
+ protected String getCycleGcBeanName() {
+ return null;
+ }
+
+ protected String getPauseGcBeanName() {
+ return null;
+ }
Review Comment:
I don't feel this is a good way. Couldn't you use an implementation to override `getNormalGCName`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org