Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0
-
None
-
None
Description
Currently, the start scripts set a series of GC options
- The Tenured Gen GC is set to ConcurrentMarkSweep
- The Perm Gen is set to be collected during swipes (CMSClassUnloading)
- The ratio between Perm Gen and New Gen is fixed
I propose to remove all of those options:
- Users can pass their own GC arguments through the JAVA_OPTS
- CMS is not considered a competitive GC any more (starting from Java 7, G1 seems much better)
- PermGen garbage collection happens in all GCs anyways
- The ratio between TenuredGen and New Gen has proven harmful in the past