Is the Garbage-free mode enabled by default? #3376
Unanswered
zengzuo613
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This depends on the Java application environment (see meta configuration properties). By default:
In your case GC-mode is probably on.
I don't believe we log that information. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I reviewed the garbagefree documentation, and it states that the Garbage-free mode requires additional configuration and activation. However, when I tested the logback-perf code, I noticed that even with the default configuration and extensive logging output, it did not trigger any GC (Garbage Collection).
perf result
Is the Garbage-free mode activated by default? Is it possible to inspect through Log4j2's own logs?
PS:
(1) jdk and log4j2 verison is 1.8.171 and 2.24.3
(2)log4j2.xml
Beta Was this translation helpful? Give feedback.
All reactions