You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mark Robert Miller (Jira)" <ji...@apache.org> on 2020/04/08 19:36:00 UTC

[jira] [Commented] (HBASE-24143) [JDK11] Switch default garbage collector from CMS

    [ https://issues.apache.org/jira/browse/HBASE-24143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17078642#comment-17078642 ] 

Mark Robert Miller commented on HBASE-24143:
--------------------------------------------

Couple notes off the top of my head:
 * I believe the Lucene project has found that CMS is the best collector performance wise for their test suite (vs G1 and the other classic collectors). I don't think CMS is actually removed until maybe Java 14? Lucene also found a variety of bugs and stability issues in earlier versions of G1 as compared to CMS, probably that was mostly worked out by Java 11 though.
 * I'm a big fan of pinning these things explicitly so that developer test runs can be a consistent experience across a wider range of envs and devs. The more that is picked up based on java version or env or hardware, the harder it is to deliver a solid developer experience. As long as you provide a way for a dev to override these things, they can still personalize, but checkout and run test experience is more consistent and known.

> [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
>            Priority: Major
>
> 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)