How To Solve a Problem Like Shenandoah 8u

Andrew Hughes gnu.andrew at redhat.com
Tue Nov 30 03:28:08 UTC 2021


On 10:29 Thu 14 Oct     , Aleksey Shipilev wrote:
> On 10/13/21 9:54 PM, Roman Kennke wrote:
> > Others who do more frequent backports than me (Aleksey maybe?) might
> > have more insights.?
> 
> Our backport tracking machinery parses the changesets in that HG repo. That's the only option for 
> tracking, because 8u Shenandoah backports are not tracked in JBS. I suspect it would be fine to keep 
> the read-only snapshot of old Mercurial repo, so that backports-monitor can still read it.
> 
> FWIW, we did the similar history-losing-squash commit when moving sh/jdk9 -> sh/jdk10 for the 
> monorepo migration, and that was not very painful.
> 
> -- 
> Thanks,
> -Aleksey
> 

So we now have 8u hg monorepos:

https://hg.openjdk.java.net/jdk8u/monojdk8u/
https://hg.openjdk.java.net/jdk8u/monojdk8u-dev/

and live read-only git mirrors:

https://github.com/openjdk/jdk8u
https://github.com/openjdk/jdk8u-dev

What I would suggest for aarch64/shenandoah-jdk8u going forward is:

1. We merge the 8u322 build promotions as usual, so we are in sync with the new repositories
2. Fork the jdk8u git repository to sh/jdk8u and apply the Shenandoah changes as one patch on top
3. Future merges to the new git repo are from the read-only 8u git mirror (which will become live next year)

I don't see a need to temporarily have a Shenandoah hg monorepo as
there are few commits directly to these repositories. It will actually
be a good test of the 8u git repo to use it before it goes live for
development.

I guess you'll also want a sh/jdk8u-dev git repository as an equivalent
of the current sh/jdk8u for working on 8u backports.

Thoughts?
-- 
Andrew :)
Pronouns: he / him or they / them
Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the shenandoah-dev mailing list