<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mani,<br>
<br>
I think Martijn's suggestion works better : - " it will be good to
be able to encourage various OpenJDK<br>
members to contribute / port tests into it and measure that. Small
steps"<br>
<br>
Rgds,Rory<br>
<br>
<div class="moz-cite-prefix">On 19/01/2015 22:56, Mani Sarkar wrote:<br>
</div>
<blockquote
cite="mid:CAGHtMWkgo1pGym06MxAY5opZPE4aCfL1QmEXtcAqgR7eh24UJA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>On the below I was going to suggest, is it possible to have
JCov metrics from other non-published tests and sources run on
various environments and then combine them with the public
version (from our servers).</div>
<div><br>
</div>
<div>John Oliver did a patch for JaCoCO long ago, that way we
can see pathways from other tests which only improve overall
coverage metrics. Is there something available with the JCov
tool itself ?</div>
<div><br>
</div>
<div>Is this an idea that is feasible ?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mani</div>
<div><br>
</div>
<div>-- <br>
<div class="gmail_signature">
<div dir="ltr"><a moz-do-not-send="true"
href="http://twitter.com/theNeomatrix369"
target="_blank">@theNeomatrix369</a><b
style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">
| </b><b><a moz-do-not-send="true"
href="http://neomatrix369.wordpress.com/"
target="_blank">Blog</a></b><b
style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">
| </b>LJC Associate & LJC Advocate (@adoptopenjdk
& @adoptajsr programs)
<div><font face="arial, helvetica, sans-serif"><b>Meet-a-Project
- </b><a moz-do-not-send="true"
href="https://github.com/MutabilityDetector"
target="_blank">MutabilityDetector</a></font><b
style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">
| </b><font color="#888888" face="arial, helvetica,
sans-serif"><font style="font-size:10pt"
color="#000000"><b><a moz-do-not-send="true"
href="https://bitbucket.org/neomatrix369"
target="_blank">Bitbucket</a></b></font> <b> | </b><font
style="font-size:10pt" color="#000000"><b><a
moz-do-not-send="true"
href="https://github.com/neomatrix369"
target="_blank">G<font style="font-size:10pt">i</font>thub</a></b></font></font><span
style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> </span><b
style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> |
</b><b><a moz-do-not-send="true"
href="http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b"
target="_blank">LinkedIn</a></b></div>
<div><b>Come to Devoxx UK 2015:</b> <a
moz-do-not-send="true" href="http://www.devoxx.co.uk/"
target="_blank">http://www.devoxx.co.uk/</a></div>
<div><br>
</div>
<div><b><i>Don't chase success, rather aim for
"Excellence", and success will come chasing after
you!</i></b></div>
</div>
</div>
</div>
<div><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Message: 4<br>
Date: Mon, 19 Jan 2015 17:28:11 +0000<br>
From: Martijn Verburg <<a moz-do-not-send="true"
href="mailto:martijnverburg@gmail.com">martijnverburg@gmail.com</a>><br>
To: "Rory O'Donnell" <<a moz-do-not-send="true"
href="mailto:rory.odonnell@oracle.com">rory.odonnell@oracle.com</a>><br>
Cc: "<a moz-do-not-send="true"
href="mailto:quality-discuss@openjdk.java.net">quality-discuss@openjdk.java.net</a>"<br>
<<a moz-do-not-send="true"
href="mailto:quality-discuss@openjdk.java.net">quality-discuss@openjdk.java.net</a>><br>
Subject: Re: We have some Code Coverage results from
JCov/JTreg!<br>
Message-ID:<br>
<<a moz-do-not-send="true"
href="mailto:CAP7YuAS4RKwJFybHCi_r5q0Qr08MPr-Sz_7HNxRLN6n39cpn1Q@mail.gmail.com">CAP7YuAS4RKwJFybHCi_r5q0Qr08MPr-Sz_7HNxRLN6n39cpn1Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Rory,<br>
<br>
Understood - it will be good to be able to encourage
various OpenJDK<br>
members to contribute / port tests into it and measure
that. Small steps<br>
:-).<br>
<br>
On 19 January 2015 at 16:35, Rory O'Donnell <<a
moz-do-not-send="true"
href="mailto:rory.odonnell@oracle.com">rory.odonnell@oracle.com</a>><br>
wrote:<br>
<br>
><br>
> On 19/01/2015 15:36, Martijn Verburg wrote:<br>
><br>
> Hi Rory,<br>
><br>
> Thanks - we're looking into the existing Cloudbees
Jenkins instance to<br>
> do this.<br>
><br>
> ok<br>
><br>
> A second question quick question - do the numbers
we're publishing look<br>
> right compared to your internal ones?<br>
><br>
> Appreciate non OpenJDK tests run by Oracle means
that they cover more.<br>
><br>
> Comparing our internal numbers with yours would be
like comparing apples<br>
> with pears<br>
> I'm afraid.<br>
><br>
> Rgds,Rory<br>
><br>
> Cheers,<br>
> Martijn<br>
><br>
> On 19 January 2015 at 15:18, Rory O'Donnell <<a
moz-do-not-send="true"
href="mailto:rory.odonnell@oracle.com">rory.odonnell@oracle.com</a>><br>
> wrote:<br>
><br>
>><br>
>> On 19/01/2015 10:55, Martijn Verburg wrote:<br>
>><br>
>>> Hi all,<br>
>>><br>
>>> John Oliver and Mani Sarkar spent some time
on the most recent Adopt<br>
>>> OpenJDK hackday and managed to get what
looks like to be meaningful code<br>
>>> coverage numbers for OpenJDK using the
jcov/jtreg tools:<br>
>>><br>
>>> Results for jdk9: <a
moz-do-not-send="true"
href="http://sticky.uwcs.co.uk/jcov/" target="_blank">http://sticky.uwcs.co.uk/jcov/</a><br>
>>><br>
>>> ========Code Tools Dev========<br>
>>><br>
>>> The configuration John used was as follows
(is this the correct usage<br>
>>> pattern?):<br>
>>><br>
>>> Build jdk images<br>
>>> install jtreg with the jcov<br>
>>><br>
>>> export the normal vars:<br>
>>><br>
>>> ```<br>
>>> export
SOURCE_CODE=/home/joliver/workspace/jdk9/<br>
>>> export
JTREG_INSTALL=/home/joliver/workspace/jtreg<br>
>>> export JT_HOME=$JTREG_INSTALL<br>
>>> export JTREG_HOME=$JTREG_INSTALL<br>
>>> export<br>
>>>
PRODUCT_HOME=$SOURCE_CODE/build/linux-x86_64-normal-server-release/images/jdk<br>
>>><br>
>>> export JPRT_JTREG_HOME=${JT_HOME}<br>
>>> export JPRT_JAVA_HOME=${PRODUCT_HOME}<br>
>>> export JTREG_TIMEOUT_FACTOR=5<br>
>>> export CONCURRENCY=8<br>
>>> ```<br>
>>><br>
>>> cd into jdk/test<br>
>>><br>
>>> edit the Makefile and add the following:<br>
>>><br>
>>> ```<br>
>>> jdkroot=/home/joliver/workspace/jdk9/<br>
>>><br>
>>> JTREG_TEST_OPTIONS +=<br>
>>>
-jcov/classes:$(jdkroot)/build/linux-x86_64-normal-server-release/jdk/modules/java.base<br>
>>> JTREG_TEST_OPTIONS +=<br>
>>>
-jcov/source:$(jdkroot)/jdk/src/java.base/share/classes<br>
>>> JTREG_TEST_OPTIONS += -jcov/include:*<br>
>>> ```<br>
>>><br>
>>> just before the line: # Make sure jtreg
exists<br>
>>><br>
>>> then just run "make test" inside the root<br>
>>><br>
>>> =======Quality Discuss=======<br>
>>><br>
>> Hi Martijn,<br>
>><br>
>> Posting the results on our wiki won't work, so
I can provide a link to the<br>
>> results. Let me know when you have decided on
the link locations.<br>
>><br>
>> Rgds,Rory<br>
>><br>
>>><br>
>>> Is this something that could be hosted by
the quality group for the<br>
>>> major OpenJDK code lines (7u, 8u and jdk9)?<br>
>>><br>
>>> If not then the Adoption Group can host it
on one of their external<br>
>>> servers temporarily and we could link to
that from the wiki(s)/project<br>
>>> page(s).<br>
>>><br>
>>> Cheers,<br>
>>> Martijn<br>
>>><br>
>><br>
>> --<br>
>> Rgds,Rory O'Donnell<br>
>> Quality Engineering Manager<br>
>> Oracle EMEA , Dublin, Ireland<br>
>><br>
>><br>
><br>
> --<br>
> Rgds,Rory O'Donnell<br>
> Quality Engineering Manager<br>
> Oracle EMEA , Dublin, Ireland<br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a moz-do-not-send="true"
href="http://mail.openjdk.java.net/pipermail/quality-discuss/attachments/20150119/2c08545b/attachment.html"
target="_blank">http://mail.openjdk.java.net/pipermail/quality-discuss/attachments/20150119/2c08545b/attachment.html</a>><br>
<br>
End of quality-discuss Digest, Vol 39, Issue 4<br>
**********************************************</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland </pre>
</body>
</html>