How does the java garbage collector determine that objects no longer reference the program?
It depends on the VM, but there are several ways to do this.
Check this.
Link:
Fig. General collection of objects
Figure: Memory Object Collection
: java
( !): http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
JVM . GC ( GC java, train, mark sweep ..), ( , ) , , / .
GC, GC; .
, :
http://chaoticjava.com/posts/how-does-garbage-collection-work/
http://java.sun.com/docs/hotspot/gc1.4.2/
http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
http://www.oracle.com/technetwork/java/javase/tech/ts-3153-coomes-19899-dsf-150093.pdf#search=%22garbage%20collection%22
, ...
Source: https://habr.com/ru/post/1788106/More articles:What is the difference between outputs and referenced outputs in IB Inspector when connected? - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1788102/examples-to-show-how-to-use-racket-lexer-generator&usg=ALkJrhgwgKopO8NEVekQjoJah1j6E2xA0AHelp understand how brackets are used ... Rookie Question - phpandroid - UI like a sliding notification bar - androidMongomapper: does the "_id" field conflict with "id"? - mongodbgarbage collector logic in java - javaCan JanRain support logging across multiple websites while still communicating with Facebook? - echoЧто такое бизнес-модель служб сокращения URL-адресов, таких как bit.ly и tinurl? - urlWhat is the size limit for jQuery ajax call return value? - jqueryhow to distinguish a slot in several levels of pure functions in mathematics - wolfram-mathematicaAll Articles