Differences between "Full GC" and "Full GC (System)" in GC Log

Asked 2 years ago, Updated 2 years ago, 33 views

We are investigating the phenomenon of Full GC.
Full GC and Full GC (System) are present in the GC log.

My predecessor is counting without Full GC (System)…
I asked you a question because I didn't know the difference and it was disgusting to take it off.

I didn't fall into the sea of the internet or 2

java gc

2022-09-30 14:56

1 Answers

Does java garbage collection log entry "Full GC (System)" mean some class called System.gc()?

has exactly the right questions and answers.Let's leave the details to this article

System.gc();

It seems to be recorded when you call .I'm sorry, but I didn't check it myself.

I came across this article by searching Google with double quotation like "Full GC(System)".


2022-09-30 14:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.