Coming soon: second generation prototype of Hg forest consolidation

Erik Joelsson erik.joelsson at oracle.com
Tue Apr 11 09:35:08 UTC 2017


Hello,

We could certainly take this opportunity to do so. Moving all the files 
around has a pretty big cost in history size in the repository, so when 
doing large moves like this, it's good to get things as right as 
possible in one go.

(Will talk to you about details offline)

/Erik


On 2017-04-10 19:47, Stefan Karlsson wrote:
> Hi all,
>
> Great to see that the consolidation work is going forward!
>
> I have comment specific to the HotSpot code layout:
>
> We previously had this layout (using a small set of directories as an 
> example):
>  hotspot/src/share/vm
>  hotspot/src/os/linux/vm
>  hotspot/src/os/solaris/vm
>  hotspot/src/os/solaris/dtrace
>  hotspot/src/os/bsd/launcher
>  hotspot/src/share/tools/hsdis
>
> and this is the new layout:
>  src/hotspot/share/vm
>  src/hotspot/os/linux/vm
>  src/hotspot/os/solaris/vm
>  src/hotspot/os/solaris/dtrace
>  src/hotspot/os/bsd/launcher
>  src/hotspot/share/tools/hsdis
>
> should we consider changing the layout of the HotSpot code so that we 
> don't mix the source code for the vm, tools, launcher? For example:
>  src/hotspot/vm/share
>  src/hotspot/vm/os/linux
>  src/hotspot/vm/os/solaris
>  src/hotspot/launcher/os/bsd
>  src/hotspot/tools/hsdis
>  src/hotspot/dtrace/os/solaris
>
> I'm not sure that we would want to include such a change in the 
> consolidation effort, but we are changing all file paths so maybe it's 
> the right time to think about this.
>
> Cheers,
> StefanK
>
> On 10/04/17 18:42, joe darcy wrote:
>> Hello,
>>
>> Second generation prototype now available from
>>
>>     http://hg.openjdk.java.net/jdk10/consol-proto/
>>
>> Sources equivalent to JDK 9 b161.
>>
>> Thanks,
>>
>> -Joe
>>
>>
>> On 4/5/2017 9:44 AM, joe darcy wrote:
>>> Hello,
>>>
>>> As previously discussed [1], we've been exploring consolidating the 
>>> many repositories in an OpenJDK Hg forest (jdk, langtools, hotspot, 
>>> ...) into a single repository for JDK 10. The initial prototype of a 
>>> consolidated repo [2], equivalent to JDK 9 build 138, was published 
>>> in October 2016.
>>>
>>> Erik Joelsson has been working on a refined version of the 
>>> consolidation repo and we plan to publish this second generation 
>>> prototype in the near future. The new prototype presents a more 
>>> faithful view of the sources between tags for promoted builds and 
>>> provides a cleaner overall file layout.
>>>
>>> The corresponding JEP [3] will be updated to reflect the details of 
>>> the new prototype in due course.
>>>
>>> Cheers,
>>>
>>> -Joe
>>>
>>> [1] "Looking ahead: proposed Hg forest consolidation for JDK 10,"
>>> http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-October/004987.html 
>>>
>>>
>>> [2] http://hg.openjdk.java.net/jdk9/consol-proto/
>>>
>>> [3] JEP 296: Consolidate the JDK Forest into a Single Repository
>>> http://openjdk.java.net/jeps/296
>>>
>>
>



More information about the jdk10-dev mailing list