-Xgcpolicy:gencon (default in V8)-Xgcpolicy:optthruput (previously default)
Garbage collector in IBM JVM, just as other GCs collects unused, dead, objects from the heap in order to recover some memory so it is able to allocate new objects on the heap. IBM JVM provides several GC algorithms:
- Unused objects are removed, and the survivors are allocated in survivor spaces. After some time it is promoted to the Tenure space.
- -Xgcpolicy:optthruput (previously default)
- This algorithm works as MSC (Mark-Sweep-Compact). This means in the first run collector marks live objects, in the second run sweeps unused objects, and compacts the free space. This is being done in parallel. MSC process differs between different JVMs.
- This policy can be used when the application can't tolerate long pauses in exchange for overall throughput. System tries to determine when next GC would be needed and then runs concurrent GC. before allocating new objects, some GC would be done.
- This is a new in V8 collector policy. different regions of a heap map are dealt individually. More information soon
Read more on: