Proposal to revise forest graph and integration practices for JDK 9

Dalibor Topic dalibor.topic at oracle.com
Wed Nov 27 06:51:25 PST 2013


On 11/26/13 6:40 PM, Andrew wrote:
>> Considering the real benefits of a master forest [1], and the real drawbacks
>> when it's being used with a rapidly changing tree underneath [2], I'd
>> suggest you drop the master forest for JDK 9.
>>
> 
> I'd assumed it was needed for some internal Oracle stuff but if it's not, drop
> it by all means.

Basically, it means release engineering can take the untagged master, go do a build,
and once (or more accurately - if) the build succeeds, tag build X in the master. So in 
theory, you can avoid 'burning up' build numbers for broken builds, because you can
go back, fix the master, and attempt a new build, and then tag that as build X.

Burning up build numbers is kind of bad because bugs can (and typically do) get marked 
as fixed in a given build X, and if there is no actual build X, it quickly becomes very 
confusing to verify if a bug was actually fixed (in build X) or not.
  
For more details on that, see "Other material particular to the JDK project" part of 
https://wiki.openjdk.java.net/display/general/JBS+Overview .

The alternative is similar to the first paragraph - tag build X on jdk9/dev before the build, 
attempt the build, if it fails, remove that tag again, fix whatever caused the problem, for 
example by anti-delta-ing the offending change [0], re-tag, and repeat until done.

cheers,
dalibor topic

[0] If you don't have a fix committed within, say, 5 minutes, as it's typically going to be 
a case of just a missing hg add, or something simple like that, anti-delta seems like the 
tool of choice in such cases.

-- 
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
Oracle Java Platform Group

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment


More information about the jdk9-dev mailing list