From bakaliosdim at gmail.com Thu Oct 1 14:08:13 2020 From: bakaliosdim at gmail.com (=?UTF-8?B?zpTOt868zq7PhM+BzrfPgiDOnM+AzrHOus6xzrvOuc6/z4I=?=) Date: Thu, 1 Oct 2020 17:08:13 +0300 Subject: Shenandoah testing Message-ID: Hello all, I am currently trying to test graal using shenandoah gc. i follow the instructions bellow: on the jdk : bash configure --with-boot-jdk=/opt/jvms/jdk-14.0.2 --with-jtreg=/opt/jtreg make graal-builder-image make run-test TEST="hotspot/jtreg/gc/shenandoah" export JAVA_HOME=path/to/jdk/build/linux-x86_64-server-release/images/graal-builder-jdk /opt/jtreg/bin/jtreg -v -vmoptions:"-XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+UnlockDiagnosticVMOptions -XX:+UseJVMCICompiler" ~/jdk/test/hotspot/jtreg/gc/shenandoah and the output is:Test results: no tests selected When i change the tests path from ~/jdk/test/hotspot/jtreg/gc/shenandoah to: ~/jdk/test/hotspot/jtreg/gc it starts running all the tests located there and my professor who used the same instructions had it working fine. jdk commit e2196f8882b9237926c3ff208bc971c5c31faac7 openjdk 16-internal 2021-03-16 OpenJDK Runtime Environment (build 16-internal+0-adhoc.bakdim.jdk) OpenJDK 64-Bit Server VM (build 16-internal+0-adhoc.bakdim.jdk, mixed mode, sharing) jtreg, version 5.1 dev 885 Installed in /opt/jtreg/lib/jtreg.jar Running on platform version 16-internal from /home/bakdim/Documents/thesis/jdk/build/linux-x86_64-server-release/images/graal-builder-jdk. Built with Java(TM) 2 SDK, Version 1.8.0_172-b11 on September 21, 2020. Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. JT Harness, version 6.0 ea b11 (September 21, 2020) JCov 3.0-2 TestNG (testng.jar): version unknown TestNG (jcommander.jar): version 1.72 Java Assembler Tools, version 7.0 beta b02 (September 21, 2020) does anyone have any clue on why this happens? Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.holmes at oracle.com Thu Oct 1 22:54:54 2020 From: david.holmes at oracle.com (David Holmes) Date: Fri, 2 Oct 2020 08:54:54 +1000 Subject: Shenandoah testing In-Reply-To: References: Message-ID: <9b21308a-f51c-6c8b-250e-adc7b89b81e3@oracle.com> Hi, On 2/10/2020 12:08 am, ???????? ????????? wrote: > Hello all, > I am currently trying to test graal using shenandoah gc. > i follow the instructions bellow: > on the jdk : > > bash configure --with-boot-jdk=/opt/jvms/jdk-14.0.2 --with-jtreg=/opt/jtreg > > make graal-builder-image > > make run-test TEST="hotspot/jtreg/gc/shenandoah" > > export JAVA_HOME=path/to/jdk/build/linux-x86_64-server-release/images/graal-builder-jdk > > /opt/jtreg/bin/jtreg -v -vmoptions:"-XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+UnlockDiagnosticVMOptions -XX:+UseJVMCICompiler" ~/jdk/test/hotspot/jtreg/gc/shenandoah > > and the output is:Test results: no tests selected Are you actually testing a JDK that includes the ShenandoahGC? I suspect not, and as all Shendandoh tests have @requires vm.gc.Shenandoah then you will get "no tests selected" David ----- > When i change the tests path from > > ~/jdk/test/hotspot/jtreg/gc/shenandoah > > to: > > ~/jdk/test/hotspot/jtreg/gc > > it starts running all the tests located there and my professor who used the same instructions had it working fine. > > jdk commit e2196f8882b9237926c3ff208bc971c5c31faac7 > > openjdk 16-internal 2021-03-16 > OpenJDK Runtime Environment (build 16-internal+0-adhoc.bakdim.jdk) > > OpenJDK 64-Bit Server VM (build 16-internal+0-adhoc.bakdim.jdk, mixed > mode, sharing) > > > jtreg, version 5.1 dev 885 > Installed in /opt/jtreg/lib/jtreg.jar > Running on platform version 16-internal from /home/bakdim/Documents/thesis/jdk/build/linux-x86_64-server-release/images/graal-builder-jdk. > Built with Java(TM) 2 SDK, Version 1.8.0_172-b11 on September 21, 2020. > Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. > Use is subject to license terms. > JT Harness, version 6.0 ea b11 (September 21, 2020) > JCov 3.0-2 > TestNG (testng.jar): version unknown > TestNG (jcommander.jar): version 1.72 > Java Assembler Tools, version 7.0 beta b02 (September 21, 2020) > > does anyone have any clue on why this happens? > > Thank you in advance. >