Tutorial by Examples

Objects become eligible for garbage collection (GC) if they are no longer reachable by the main entry point(s) in a program. GC is usually not performed explicitly by the user, but to let the GC know an object is no longer needed a developer can: Dereference / assign null someFunction { var ...
Normally the jvm's garbage collection (gc) is transparent to the user (developer/engineer). GC tuning is normally not required unless the user faces a memory leak or has an application that requires large amount of memory - both of which eventually lead to an out-of-memory exception which compels t...

Page 1 of 1