[9] RFR(L): 8062854: move compiler jtreg test to corresponding subfolders and use those in TEST.groups

David Chase david.r.chase at oracle.com
Thu Nov 13 13:57:12 UTC 2014

On 2014-11-13, at 8:32 AM, Zoltán Majó <zoltan.majo at oracle.com> wrote:
> The problem with this approach is that if we want to execute a new (short-running) JTREG test in JPRT, the TEST.groups file must be updated to execute the newly added JTREG test. Moreover, the current selection of tests is based on a per-group time limit of 10 minutes (i.e., each test group executes 10 minutes on the slowest JPRT platform available), but it seems that a 15-minute limit is also tolerable.
> Solution: Move all test directories of the form hotspot/test/<numeric_bug_id> to "functionality-based" directories.  Each functionality-based directory contains tests related to a specific functionality of the VM, for example: hotspot/test/compiler/c1, hotspot/test/compiler/c2, and hotspot/test/compiler/codecache. In the TEST.groups file we list only functionality-based directories, and not individual tests. We also exclude long-running tests.

> After changes (group / #tests / execution time on solaris_sparcv9 cpus=6 parallelcount=6 cpufreqmhz=2848):
> hotspot_compiler_1 / 107 / 16m55s
> hotspot_compiler_2 / 76 / 14m49s
> hotspot_compiler_3 / 59 / 13m44s

(Not a Reviewer)

If 15 minutes is a hard limit, I note that 16m 55s is larger than that, and 14m49s is pretty darn close.

Don’t we run a risk of test-time creep as new tests are added and by-default are run?

But those two issues are small compared to the goodness of this test re-org.
I think I can live with time-creep risk, though we might need to kick a few tests out of the first group.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20141113/851b3714/signature.asc>

More information about the hotspot-compiler-dev mailing list