create a fork under openjdk

Jiangli Zhou jianglizhou at google.com
Wed Feb 10 03:42:46 UTC 2021


Hi Claes,

Thanks a lot for the feedback (as always :)). We have been exploring
and trying to find a workable solution for this. We are legging 2+
years behind currently. So we are looking for guidance from OpenJDK
team on a workable approach for collaborating with others in the
community.

Best,
Jiangli

On Sat, Jan 30, 2021 at 5:56 AM Claes Redestad
<claes.redestad at oracle.com> wrote:
>
> Hi Jiangli,
>
> I will be happy to review changes when they are upstreamed to the JDK
> head, and implore you to make sure that the changes you are exploring
> can be upstreamed promptly to avoid potential conflicts with ongoing and
> existing enhancement work in either head or the endorsed projects.
>
> I will personally not participate in any discussion or collaborate with
> changes outside of the JDK mainline or a project that tracks the
> mainline repo (panama, valhalla, leyden...).
>
> Best regards
>
> /Claes
>
> On 2021-01-30 05:34, Jiangli Zhou wrote:
> > 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