create a fork under openjdk

Jiangli Zhou jianglizhou at google.com
Sat Jan 30 04:34:33 UTC 2021


Hi Alan and Sanhong,

We are in a similar situation as Alibaba. Our developers are using JDK 11
or are being migrated to JDK 11. JDK 11 is our primarily supported release.

We are interested in working with Alibaba and others in the community on
the areas that Sanhong mentioned. We have started investigating and
prototyping
<http://cr.openjdk.java.net/~jiangli/Leyden/general_class_pre_initialization_core_mechanism/>
on JDK 11. Some of the work is currently being tested in production. Using
a JDK 11 based collaboration repository is a good starting point and avoids
the need/cost for merging (non-trivial) existing work into JDK head up
front before the work is ripe enough. It also helps us to validate any new
work in production as early as possible, while using JDK head based repo
(e.g. sandbox) would not achieve that in the short term future. Our end
goal is to rebase all the work from JDK 11 to JDK head, when it is mature
and ready for contributing back (with review and approval by reviewers) to
the mainline and potentially feed into the Leyden project.

Best,
Jiangli


On Fri, Jan 29, 2021 at 5:18 AM 李三红(三红) <sanhong.lsh at alibaba-inc.com> wrote:

> Hi Alan,
> Thanks for your reply.
> Let me elaborate a little bit on this -
> 1. Our cloud workloads are running on the top of JDK11(hard to keep them at
> the head version due to enormous upgrade cost).
> 2. Based on these real use-cases,  we want to do the startup-related
> enhancements(neither exploration nor prototyping, just resolving the actual
> requirements) on JDK11
> - At this moment, we are considering AppCDS(+upstream backports),
> pre-initialization, and more optimization, e.g., AOT, in the future if
> better for facilitating startup.
> 3. We plan to start with JDK11, but I think we can contribute them(or some
> of them) up to the master later.
>
> Thanks!
> Sanhong
> -----邮件原件-----
> 发件人: Alan Bateman <Alan.Bateman at oracle.com>
> 发送时间: 2021年1月27日 20:45
> 收件人: 李三红(三红) <sanhong.lsh at alibaba-inc.com>; discuss at openjdk.java.net
> 主题: Re: create a fork under openjdk
>
> On 27/01/2021 12:13, 李三红(三红) wrote:
> > Hello,
> >
> > We are working on the fast-startup related development based on
> > JDK11u. To facilitate community collaboration(sharing backports, bug
> > fixing, patches, etc. across different companies/parties based on the
> > repo), we are exploring creating the fork of JDK11u under the OpenJDK
> > group [1]
> >
> >
> >
> > Can anyone help with this, or is there a way/process we can follow to
> > do that? - Your help or any input is much appreciated.
>
> Is this a collection of small improvements that you are looking to
> upstream?
> Is there any reason not to work with a fork from the main line as it
> already
> has a lot of startup improvements since JDK 11. The jdk-sandbox repo [1]
> and
> existing mailing lists could be used in that case. Some of the JEPs in
> recent releases have accumulated changes in the sandbox during their
> development.
>
> Or maybe you have a larger multi-year project in mind? OpenJDK has Projects
> [2] for collaborative efforts. Projects will usually involve exploration
> and
> prototyping. Is that the sort of thing you had in mind?
> It might be useful to expand a bit on what you have in mind as it is hard
> to
> know if this is about upstreaming changes or an effort that will explore
> many directions.
>
> -Alan
>
> [1] https://github.com/openjdk/jdk-sandbox
> [2] https://openjdk.java.net/projects
>
>


More information about the discuss mailing list