RFR: More tests in tier1_loom
    Aleksey Shipilev 
    shade at openjdk.java.net
       
    Mon Oct 11 15:55:33 UTC 2021
    
    
  
Porting/development work would be much simpler if we had a comprehensive test group with Loom-specific tests. There is such a group in hotspot, `tier1_loom`. We can revamp it with more tests. I basically went and added tests that are added/substantially-modified by Loom, judging by a [recent webrev](https://builds.shipilev.net/patch-openjdk-loom-fibers/).
Sample run:
$ time CONF=linux-x86_64-server-fastdebug make run-test TEST=tier1_loom
...
==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/hotspot/jtreg:tier1_loom                  63    63     0     0   
   jtreg:test/jdk:tier1_loom                            83    83     0     0   
==============================
TEST SUCCESS
Finished building target 'run-test' in configuration 'linux-x86_64-server-fastdebug'
real	6m57.212s
user	33m52.605s
sys	1m32.212s
Excluding `java/lang/Thread/virtual/stress` would make the run at least twice as fast, but I don't think that would be reasonable to do at this stage in development.
-------------
Commit messages:
 - More tests in tier1_loom
Changes: https://git.openjdk.java.net/loom/pull/74/files
 Webrev: https://webrevs.openjdk.java.net/?repo=loom&pr=74&range=00
  Stats: 16 lines in 2 files changed: 14 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/loom/pull/74.diff
  Fetch: git fetch https://git.openjdk.java.net/loom pull/74/head:pull/74
PR: https://git.openjdk.java.net/loom/pull/74
    
    
More information about the loom-dev
mailing list