[ 
https://issues.apache.org/jira/browse/HBASE-24143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Dimiduk resolved HBASE-24143.
----------------------------------
    Fix Version/s: 2.3.0
                   3.0.0
     Release Note: 
<!-- markdown -->
`bin/hbase` will now dynamically select a Garbage Collector implementation 
based on the detected JVM version. JDKs 8,9,10 use `-XX:+UseConcMarkSweepGC`, 
while JDK11+ use `-XX:+UseG1GC`.

Notice a slight compatibility change. Previously, the garbage collector choice 
would always be appended to a user-provided value for `HBASE_OPTS`. As of this 
change, this setting will only be applied when `HBASE_OPTS` is unset. That 
means that operators who provide a value for this variable will now need to 
also specify the collector. This is especially important for those on JDK8, 
where the vm default GC is not the recommended ConcMarkSweep.
       Resolution: Fixed

> [JDK11] Switch default garbage collector from CMS
> -------------------------------------------------
>
>                 Key: HBASE-24143
>                 URL: https://issues.apache.org/jira/browse/HBASE-24143
>             Project: HBase
>          Issue Type: Sub-task
>          Components: scripts
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> When running HBase tools on the cli, one of the warnings generated is
> {noformat}
> OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in 
> version 9.0 and will likely be removed in a future release.
> {noformat}
> Java9+ use G1GC as the default collector. Maybe we simply omit GC 
> configurations and use the default settings? Or someone has some suggested 
> settings we can ship out of the box?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to