JFR backport status
Andrew John Hughes
gnu.andrew at redhat.com
Tue Apr 30 15:26:52 UTC 2019
On 30/04/2019 16:19, Mario Torre wrote:
> On Tue, Apr 30, 2019 at 5:15 PM Andrew John Hughes
> <gnu.andrew at redhat.com> wrote:
>>
>>
>>
>> On 30/04/2019 11:29, Mario Torre wrote:
>>> Hi all,
>>>
>>> I have sync'ed up jdku-dev post security with our staging repository:
>>>
>>> https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/
>>>
>>> After discussing with Andrew we decided to be best to create a new bug
>>> rather than reusing the existing JFR and mark them as backports, so I
>>> went ahead and created it:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8223147
>>>
>>
>> Doesn't this mean that an issue won't show up as having been backported
>> to 8u when it has?
>
> Yes, this is why the initial thought was to have the backports bug,
> however this feature doesn't have one specific bug for the backport,
> it's more like a multitude of the bugs and doesn't apply cleanly
> either, so we decided to just have a separate bug to encompass
> everything else. I'm not sure what else we can do, what do you think?
>
> Cheers,
> Mario
>
Note that you can mention multiple bug IDs in a commit:
https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/bc0a3a91a074
From my experience with a similar situation with getting the PPC port
into OpenJDK 7, I'd say a hybrid solution is the best option; use a
unique bug for the initial backport of the feature, but import later bug
fixes using the same changeset+bug ID relationship.
e.g.
there is:
https://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/de5e8c8a9b87
and then a run of other bugs:
https://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/ccb68f77d07a
https://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/ccb68f77d07a
https://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/f2f5a053bd0d
etc.
Where possible, it's best to avoid the problem where someone does 'log
-k <bugid>', can't find it in the repo, starts to backport it and then
realises it's there in disguise :)
--
Andrew :)
Senior Free Java Software Engineer
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
https://keybase.io/gnu_andrew
More information about the jdk8u-dev
mailing list