Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Garbage Collector (ParNew and ConcurrentMarkSweep )

819041Nov 26 2010
We have an application running with -XX:+UseConcMarkSweepGC, so we will see two garbage collectors in the system: ParNew and ConcurrentMarkSweep garbage collector.
I am confused garbage collector with generation

So.
1. Does ParNew only collect memory on New generation, ConcurrentMarkSweep collect memory on the old generation
2. Is minor/full gc related to garbage collector? I though ParNew is minor gc, ConcurrentMarkSweep is full gc
3. When will full gc happen?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2010
Added on Nov 26 2010
0 comments
812 views