RFR(XL/M) : 8178788: wrap JCStress test suite as jtreg tests

Frank Yuan frank.yuan at oracle.com
Wed Apr 19 06:39:01 UTC 2017

Hi Igor


The artifact which I talked about is the wrapper(JcstressRunner.java), I supposed there would be more people to create their tests
with jcstress facility if the wrapper is put to a common place, there have been e.g. failure_handler, lib in


If we put the wrapper into hotspot repo, even after JEP 296, it would be under test/hotspot/.


Certainly, it's up to you:)






From: Igor Ignatyev [mailto:igor.ignatyev at oracle.com] 
Sent: Wednesday, April 19, 2017 1:47 PM
To: Frank Yuan
Cc: HotSpot Open Source Developers
Subject: Re: RFR(XL/M) : 8178788: wrap JCStress test suite as jtreg tests


Hi Felix,


currently, <root>/test is not a jtreg testbase and it is not supported by make and the rest of infra, therefore it's not possible to
have tests there. I don't want to mix up this fix w/ infra/make related work, and would prefer to think about this movement after
(or as a part of) JEP 296 Consolidate the JDK Forest into a Single Repository.


actually, corelibs people are more than welcome to run hotspot/test, we (hotspot team) run jdk/test quite often and would really
love to see other people running our tests before pushing changes which can affect hotspot and/or its tests. 


-- Igor



On Apr 18, 2017, at 8:32 PM, Frank Yuan <frank.yuan at oracle.com <mailto:frank.yuan at oracle.com> > wrote:


Hi Igor


This is really a valuable work!


Would you like to pull your artifacts up to the common repo  <http://hg.openjdk.java.net/jdk10/hs/test?>
hg.openjdk.java.net/jdk10/hs/test? That more people(e.g. corelibs :)) can benefit from this.







RFR(XL/M) : 8178788: wrap JCStress test suite as jtreg tests


Tue, 18 Apr 2017 15:12:48 -0700


Igor Ignatyev  <mailto:igor.ignatyev at oracle.com> <igor.ignatyev at oracle.com>


 <mailto:hotspot-compiler-dev at openjdk.java.net> hotspot-compiler-dev at openjdk.java.net compiler
<mailto:hotspot-compiler-dev at openjdk.java.net> <hotspot-compiler-dev at openjdk.java.net>, HotSpot Open Source Developers
<mailto:hotspot-dev at openjdk.java.net> <hotspot-dev at openjdk.java.net>


> 69903 lines changed: 69903 ins; 0 del; 0 mod; 
(69524 lines are generated)
Hi all,
could you please review this patch which adds a jtreg test wrapper for jcstress test suite and jtreg tests which run jsctress tests
thru this wrapper?
webrev:  <http://cr.openjdk.java.net/~iignatyev/8178788/webrev.00/index.html>
JBS:  <https://bugs.openjdk.java.net/browse/JDK-8178788> https://bugs.openjdk.java.net/browse/JDK-8178788
testing: applications/jcstress
-- Igor 


More information about the hotspot-dev mailing list