New submit repo for hotspot changes

Erik Helin erik.helin at
Tue Mar 13 12:38:57 UTC 2018

On 03/13/2018 12:09 PM, Aleksey Shipilev wrote:
> On 03/13/2018 02:06 AM, jesper.wilhelmsson at wrote:
>> Hi all HotSpot developers!
>> There is now a new submit repo available. It is similar to the one created a while ago [1], and the usage is the same, but this one is based on and synched with the jdk/hs forest. This means that it should now be possible for any contributor to run all the required tests for hotspot pushes (referred to as hs tier 1) on the latest version of the HotSpot source code.
> The mirror tarball for this new repo:
> As usual, this works:
> $ wget -O - | tar xJf -; \
>    cd jdk-submit-hs; \
>    hg pull; hg up;

Thanks Aleksey for mirroring, but if you are already working in jdk/hs, 
then you can just add the jdk/hs-submit repo as an additional remote:

$ printf "[paths]\nsubmit = ssh://$(hg config 
ui.username)\n" >> $(hg root)/.hg/hgrc

This way, when you want to test your work, just push to the submit path:

$ hg push --new-branch submit

To avoid forgetting to append the 'submit' path (and thereby pushing to 
the main repository), it is probably best to create an alias:

$ printf "[alias]\nsubmit = push --new-branch submit" >> $HOME/.hgrc

This way you can just type:

$ hg submit

to run your current branch through the jdk/hs-submit system.


> Thanks,
> -Aleksey

More information about the jdk-dev mailing list