I understand that minor GC is performed in Eden space in Young generation. The objects which survive GC, move to Survivor space (From). Once, (From) is out of space the objects move to Survivor space (To). Is Minor GC also performed on Survivor spaces ?
Survivor space is part of young generation, and hence a minor gc will be performed on the survivor spaces. If an object survives a number of minor gc, then it will be moved to the old generation.
for more details: http://www.cubrid.org/blog/dev-platform/understanding-java-garbage-collection/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With