forked from apache/cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CASSANDRA-7486 Change default GC to G1GC
Per discussion in CASSANDRA-7486, change the default GC to G1GC on Java 8. The settings provided in this patch have been tested with an 8GB heap with off-heap options disabled. Some of the commented out settings provided are useful on large machines such dual Xeons with 24 cores and 512GB RAM. * add G1GC and common tuning parameters * disable biased locking * enable -XX:+AlwaysPreTouch to eliminate soft faults in containers * enable TLAB resizing, add a comment * moved a few options lower in the file to make heap size more visible * removed unused 'startswith' function * removed unused code for OpenJDK detection * removed all options related to CMS * removed HEAP_NEWSIZE and calculation code * moved JMX_PORT closer to the related code
- Loading branch information
Showing
1 changed file
with
57 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters