I know that there are different garbage collection algorithms. This is a collection of copies and a collection of Compact Compact, an incremental collection. I have a request now. What algorithm is used in the JVM? Why are there different algorithms?
Firstly, more than one version of the JVM .
I find that most core JVMs use the default generation garbage collection . However, they can also use a hybrid strategy.
Below are some links to core JVMs using garbage collections:
, , , Jrockit : JVM
, , . , JDK, JVM ( ) , . , GC . :
jvm jvm, -, -, JDK5.0 clollector: serial, throught, concurrent train