[Reprint] Exclusive! Ali personal use open-source version of OpenJDK, Java community welcomed China forces

exclusive! Ali personal use open-source version of OpenJDK, Java community welcomed China forces

https://blog.csdn.net/cpongo4/article/details/89030039

 


InfoQ reporter learned exclusively: Alibaba announced the OpenJDK open source heavy long-term support version of Alibaba Dragonwell. As we all know, Oracle's Java strategy has been shift in the series, due to the huge Java user groups, leading to the focus of discussion in this matter for a long period of time are the developers. As one of the world's largest Java user, Alibaba this time choose open source OpenJDK long-term support version of Alibaba Dragonwell which is considered out of it?

Oracle doing nothing, announced on individuals (Personal Users), Java 8 continued official support time to December 2020; for business users (Commercial Users), after January 2019 no longer provide free updates.

Red Hat propaganda, plans to continue to provide support for OpenJDK 8 before 2023.

AWS join the formal launch of the long-term support version of OpenJDK Amazon Corretto.

Today, Alibaba also announced the OpenJDK open source heavy long-term support version of Alibaba Dragonwell.

This can not help but sigh: Java ecosystem fragmentation trends are becoming evident. For developers, neither we want to risk immediate replacement, and hope you can use JDK have continued security updates and complete functions. At this point, Alibaba announced the OpenJDK open source version of the long-term support, for what consideration? Does this move stick to Java 8 groups and address their urgent needs? Future, Alibaba intends to deal with the relationship between the project and the OpenJDK? How this Java one hundred million (billion lines of Java code) on the amount of code the company look at the future of Java?

In response to these problems, InfoQ reporter an exclusive interview with Ali cloud intelligent senior technical experts base products division three red Lee, Ali cloud intelligent basis Products Division researcher Kingsum Chow (Zhou Jingsen), listen to how they see Alibaba Dragonwell way back to Java.

Dragonwell alibaba
the Java eco circle of many developers who must have long-term support version Corretto project name for AWS OpenJDK open source origins have heard, Corretto evolved from Caffe Corttto evolution, which is an Italian drink, it refers concentrate containing a small amount of liquor coffee. Coincidentally, Alibaba Dragonwell also named the beverage roots. Zhoujing Sen said in an interview:

"Dragonwell" translated into Chinese Dragon, a symbol of Chinese tea culture, but also happens to Hangzhou characteristics (Ali Baba's headquarters); "well" word is often described as the water come together for everyone to enjoy, we hope to develop a set of all forces who continue to improve the project and ultimately contribute to all users.

Why open source at this time?
To a large extent, Java long dominated by Oracle. Since the end of 2017, Oracle began to gradually transform Java strategy, gradually Oracle JDK in open source business functions to the community, and announced that no longer provide free commercial version of the update, do not provide security updates and bug fixes support.

What does this mean for developers who? If you are a user Oracle JDK 8, the original License can still be free to use, but then if you wish to get security updates you need to continue to pay for. Today, Oracle's Java-led environment has changed. As one of the largest users of Java, Ali Baba almost has the world's largest Java Application Clusters, definitely need to take some action to this end.

In the interview, Li represents the three red, Oracle sent out a series of transitions important message:

If you wish to continue to use Java for free and get continuous updates, you may need to convert to a community version after that.

Based on this, Alibaba decided to open source OpenJDK long-term support version of Alibaba Dragonwell, first, because of its own Java has a large customer and business needs, Alibaba hope that they can continue to enjoy free all the features of the JDK; the second is to consider a lot of developers may will make new choices, Alibaba decided to open the project to provide a new reference for developers.

Important characteristics of
Alibaba Dragonwell is a free OpenJDK releases, which provide long-term support, including performance enhancements and security fixes, in fact, this part of the charge corresponding to the functional part of Oracle. Lee said the three red, Alibaba Dragonwell currently supports x86-64 / Linux platform, the scene is mainly targeted at large-scale data center deployment of Java applications, Java application stability, and improve efficiency and optimize performance.

The release of 8 preview version of Alibaba Dragonwell correspond OpenJDK version 8, is compatible with the Java SE standard. Worth focusing on three major features are as follows:

Transplantation Java 11 upstream of Java Flight Recorder (JFR) function. As we all know, JFR function is Oracle JDK commercial charging function, you need to pay to use, although the latter through OpenJDK 11 open-source, Java user groups 8 is still very large, so Alibaba decided to transplant to function in Alibaba Dragonwell 8 for developers to use. Java developers can collect detailed profiling information by JFR JVM running process, with Java Mission Control (JMC), problem diagnosis and performance optimization to improve the efficiency of Java applications;

Integrated JWarmup technology. Warmup has been one of the most difficult problems a Java application, although internal Ali had a long deal with the law, but external users is difficult to touch up the program. Today, JWarmup has OpenJDK project as a Java Enhancement Proposal (JEP), the future is expected to join the Java standard release. JWarmup allows users to combine data center application traffic scheduling opportunity, in advance dynamic pre-compiled Java code, thus effectively reducing CPULoad because of the traditional warm-Just-in-Time (Warmup) caused by too high, Response Time overtime and other issues;

Serviceability provide increased diagnostic GC and other aspects of the problem.

Presumably developers determined to have found that the current Alibaba Dragonwell only supports Linux platform, which is the operating system used by most data centers. To prevent developers misunderstanding here need of special note: this does not affect the characteristics of cross-platform Java. Because, cross-platform Java application refers to itself, JDK (including JVM) is just a software, different platforms have different versions, as long as the corresponding platform installed in the corresponding JDK. Developers can develop Java applications on any system, and then deploy the appropriate platform to run the bytecode file. (After open source, Alibaba will provide detailed documentation in English use)

Follow-up plan
in the future, Alibaba want each quarterly release iteration, the next stage is 3 months after the expected release GA version. In addition, Ali JDK technical team of the project will be ongoing maintenance and updating, and will work closely with the OpenJDK community, promoting the development of Java technology.

In addition, taking into account the actual needs of users as well as large groups of Java 8, Alibaba will continue to follow-up will also consider the follow-up version of OpenJDK excellent functionality to the Alibaba Dragonwell, similar to Java Flight Recorder function mentioned above, for the development of to use in a production environment in advance.

Ali Baba and the Java
2018 years, the highest Alibaba invited to join the JCP Executive Committee for a term of two years, which is also the first Chinese company to join the JCP. JCP is an open international organization, is the highest executive committee Java, Java developers, and by the grantee, mainly function is to develop and update the Java technology specifications, which means that Alibaba has a certain right to speak in the development of Java standards, and can participate in decision-making Java ecosystem major events.

According to the survey, Ali Baba is one of the largest Java user, its interior has a very large number of Java developers and server, which is the business dictates. Alibaba mentioned, most likely to think the labels are "two-eleven." 2018, Lynx double eleven total turnover in the final freeze-frame 213.5 billion, less than two hours to break the billion mark, the biggest player in the efficient operation support system behind than Java.

With the upgrading of the complexity of the amount of body growth and business needs, Ali Baba had decided to move from PHP Java language, and in urgent need of a more efficient way to solve the problem in a production environment in 2004, which had forced Ali Baba based on open source technology self-build solutions, to guide Java developers to quickly locate and fix the problem.
 
Internet companies rhythm very quickly, within a week or even need to iterate a lot of versions, of which there will be a lot of problems, if all rely on official update addresses the entire front stretch instantly, businesses simply can not afford. This is also a lot of Internet companies have chosen a very important reason based on open source version: self-controlled, to quickly build solutions to match business development.
 
As early as 2010, Ali began to be based on OpenJDK 6 JVM custom optimization, this is the first domestic optimized, customized and open-source version of the Java virtual machine server. After that, Ali internal multiple teams involved in the JDK gradually began to research and development (yes, really is the beginning of multiple teams are doing), then Ali Baba considering the JDK as an important infrastructure, covering almost the logistics, finance, electricity providers, new retail and rookie all business scenarios, long-term research and development is certainly not separate, it puts all JDK team into one.
 
2015, after the reunification of Ali JVM team set based on OpenJDK 8 optimization and customization, and launched the now well-known customized version AJDK (Alibaba / AlipayJDK), which carries almost all the core Taobao, Lynx, ants, rookie applications, and has withstood the test of double eleven times.
 
So, AJDK now open source Alibaba Dragonwell internal Ali is the use of a thing?
 
By Ali business operation point of view, functionality and performance AJDK really good, but this open source Alibaba Dragonwell and AJDK there are still differences. Lee three red represent, Alibaba Dragonwell is the open source version AJDK, the successor AJDK technology. At present the open source version does not contain all the features AJDK, such as multi-tenant, Wisp coroutines, ZenGC, mainly because of open source technology involves a relatively long time to prepare.
 
On 8 preview version of Alibaba Dragonwell present disclosure, internal Ali fact been discussed many times, repeated to prepare, test, communicate, and then spent six months to determine finally the preview version of the open source, after Ali will consider the AJDK function gradually transition to Alibaba Dragonwell. Obviously, this work takes time.

Various JDK fiery, OpenJDK supposed to?
Is different from the Oracle JDK, OpenJDK is based on the GPL v2 / a Classpath Exception open source projects, starting from Java Java SE 7 is the official reference implementation. There OpenJDK Committer in an interview, OpenJDK has agreed to a vulgar practice, after years of free support, Oracle JDK version of the life cycle to enter the end of the period, took over and led by the community subsequent updates. Prior to this, Oracle has been providing support for JDK 8 free for five years, it is time to enter the maintenance phase of the community.
 
Today, many international mainstream manufacturers are using OpenJDK, such as Google, Twitter, Amazon and Alibaba, and developed based on this version of JDK built, which makes a lot of ecological circle of developers appear concern: the beginning of many users consider the choice of OpenJDK, these manufacturers if there are thought to participate in maintenance of the entire community?

From Alibaba level, three red Lee repeatedly emphasized one point in the interview:

Alibaba Dragonwell must OpenJDK downstream, each Alibaba Dragonwell release will sync upstream latest updates, and after internal Alibaba large-scale application cluster test. Meanwhile, Alibaba will actively accumulated on AJDK technical contribution to the OpenJDK, the project to update and maintain active participation in the community.

AWS aspects of this view is also quite similar, AWS chief open source technologist Arun Gupta had announced on AWS Open Source blog:

We look forward to working closely with the OpenJDK community to develop OpenJDK 8 and 11 future enhancements.

It seems that the author, in this state, the major manufacturers introduced JDK inevitably there will be a little different with OpenJDK, it is easy to understand: the practical problems encountered in the customer's production environment may not be suitable to improve the OpenJDK; face the same problem, OpenJDK the solution is not necessarily consistent with the idea of ​​the major manufacturers, which requires multiple parties through friendly consultations, and gradually form a good mechanism, now only the first step to promote the OpenJDK.

Java way back
choose more eco seem to be more "broken", and stick to Java developers 8 future willingness to migrate to OpenJDK it?

Stick to Java 8 groups
since Java 8 and Oracle JDK 8 the existence of such a problem, why do developers do not mass migration to an updated version of it? Why Alibaba Dragonwell still based on OpenJDK 8 from the start? The answer to this question is simple:

Java 8 is currently the most widely used version, and its population is very stick!

Java in the circle, you will find a very interesting phenomenon: whether the new version of the update given how temptation, most Java developers do not seem interested, still stick to their choice. Indeed, Java 8 is a very successful version, many developers do not think that needs to be updated other versions, which may be related to long habit and inherent trust.
 
In this regard, Li three red that, Java development over so many years, most developers have become accustomed to trust the official Oracle JDK, version of the OpenJDK community concern not enough, so the JDK from Oracle to switch to the OpenJDK requires a process. But with the efforts of these international technology giants, ecological OpenJDK will certainly become more perfect, the function will be more complete, face deeply involved in ongoing security updates and many manufacturers, this project should be the Java Ecology important public resource.

More "broken" ecological
long ago, Java ecology began to appear fragmented trend, which seems to have been exacerbated after Oracle charges. Previously, in order to reduce the potential concerns about the fragmentation problem, AdoptOpenJDK has strongly encourage all providers to submit a patch to the OpenJDK OpenJDK.
 
In this regard, Zhou Jingsen think it developers, now more and more choices, which is not necessarily a bad thing necessarily. In addition, compatibility between different versions is actually very high, the cost of migration is almost zero, this will not cause additional burden to users. Different versions exist in terms of performance optimization, platform support, indeed a little different, developers can choose according to need, but Alibaba is working to bring these technologies to the upstream, that is, the entire ecological OpenJDK, this problem should get in the future ease.

March 21, Alibaba announced the open source Alibaba Dragonwell. By then, developers can download by Ali cloud developer community centers and Github.
----------------
Disclaimer: This article is CSDN blogger "cpongo333 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/cpongo4/article/details/89030039

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/12160417.html