+ 2
Garbage collector in java
Why we explicitly call garbage collector when java calls it automatically?
4 Réponses
+ 3
Are you asking why we call gc in Java explicitly?
Because I don't
+ 2
sometimes when developing a java program you might notice a stutter that could be caused by the gc, calling the gc at better points in time might help with that in certain circumstances
but almost always there is no reason to call the garbage collector
+ 1
yes
+ 1
Well I don't. I don't know why others would, either. Did someone you know tell you to GC explicitly?