mirror of https://github.com/apache/cassandra
Enable async GC logging for JDK versions which support it to avoid potential hiccups caused by GC log file I/O blocking
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21372
This commit is contained in:
parent
bbff4f8d18
commit
e2dae5e7a0
|
|
@ -1,4 +1,5 @@
|
||||||
6.0-alpha2
|
6.0-alpha2
|
||||||
|
* Enable async GC logging for JDK versions which support it to avoid potential hiccups caused by GC log file I/O blocking (CASSANDRA-21372)
|
||||||
* Add rowsMutatedPerWriteHistogram metric to track rows mutated per write request (CASSANDRA-21320)
|
* Add rowsMutatedPerWriteHistogram metric to track rows mutated per write request (CASSANDRA-21320)
|
||||||
* Add TotalRowsRead and TotalRowsMutated counters to TableMetrics for accurate per-table row throughput tracking (CASSANDRA-21321)
|
* Add TotalRowsRead and TotalRowsMutated counters to TableMetrics for accurate per-table row throughput tracking (CASSANDRA-21321)
|
||||||
* Move exception handling of SPI startup checks when iterating over them (CASSANDRA-21409)
|
* Move exception handling of SPI startup checks when iterating over them (CASSANDRA-21409)
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,12 @@
|
||||||
--add-opens java.base/java.nio=ALL-UNNAMED
|
--add-opens java.base/java.nio=ALL-UNNAMED
|
||||||
|
|
||||||
### GC logging options -- uncomment to enable
|
### GC logging options -- uncomment to enable
|
||||||
|
-Xlog:async
|
||||||
|
|
||||||
|
# In async mode JVM writes logs into a circular memory buffer; if the buffer fills up
|
||||||
|
# before it is drained, log records are silently dropped
|
||||||
|
# the default buffer size can be adjusted using the next option if needed
|
||||||
|
# -XX:AsyncLogBufferSize=2m
|
||||||
|
|
||||||
# Java 11 (and newer) GC logging options:
|
# Java 11 (and newer) GC logging options:
|
||||||
# See description of https://bugs.openjdk.java.net/browse/JDK-8046148 for details about the syntax
|
# See description of https://bugs.openjdk.java.net/browse/JDK-8046148 for details about the syntax
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,12 @@
|
||||||
|
|
||||||
|
|
||||||
### GC logging options -- uncomment to enable
|
### GC logging options -- uncomment to enable
|
||||||
|
-Xlog:async
|
||||||
|
|
||||||
|
# In async mode JVM writes logs into a circular memory buffer; if the buffer fills up
|
||||||
|
# before it is drained, log records are silently dropped
|
||||||
|
# the default buffer size can be adjusted using the next option if needed
|
||||||
|
# -XX:AsyncLogBufferSize=2m
|
||||||
|
|
||||||
# Java 11 (and newer) GC logging options:
|
# Java 11 (and newer) GC logging options:
|
||||||
# See description of https://bugs.openjdk.java.net/browse/JDK-8046148 for details about the syntax
|
# See description of https://bugs.openjdk.java.net/browse/JDK-8046148 for details about the syntax
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue