Wei-Chiu Chuang created HBASE-26038:
---------------------------------------

             Summary: Support JDK17
                 Key: HBASE-26038
                 URL: https://issues.apache.org/jira/browse/HBASE-26038
             Project: HBase
          Issue Type: New Feature
            Reporter: Wei-Chiu Chuang


JDK 17 is the next Java LTS, coming out this September.

It brings a number of goodies. One of which is the production-ready ZGC 
(available since JDK15). (as well as the Shenandoah GC, available since JDK15)

After September 2021, there will be three Java LTS versions: Java 8, Java 11 
and Java 17. Java 8 will still be the mainstream SDK in the foreseeable future, 
so I am not looking to take advantage of the new APIs that are only available 
in JDK17. This jira aims to support HBase on all three JDK LTS.

Porting HBase to JDK17 is not a big hurdle. HBase (master branch) builds 
successfully on JDK17. A few tests fail mostly due to the new (more strict) 
Java module isolation enforcement. I have a small PoC that I will post here in 
the coming days.

What I am trying to achieve is to add an experimental support for JDK17. It 
will be interesting to benchmark HBase on ZGC and Shenandoah and determine if 
we should set our default GC to them. By then, we'll be able to claim 
production-ready support.



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

Reply via email to