RFR: 8270096: Shenandoah: Optimize gc/shenandoah/TestRefprocSanity.java for interpreter mode

Aleksey Shipilev shade at openjdk.java.net
Thu Jul 8 16:46:01 UTC 2021


On Thu, 8 Jul 2021 12:59:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Found this while testing Shenandoah with Zero. This configuration takes a lot of time, and eventually times out:
> 
> 
> $ time CONF=linux-x86_64-server-fastdebug make run-test TEST=gc/shenandoah/TestRefprocSanity.java TEST_OPTS="JAVA_OPTIONS=-Xint"
> <timeout after 1200 seconds>
> 
> 
> With these fixes, the run time with `-Xint` is under 1 minute:
> 
> 
> real	0m51.472s
> user	3m0.366s
> sys	0m5.473s
> 
> 
> In default mode, the run time is now under 20 seconds:
> 
> 
> real	0m20.584s
> user	1m8.693s
> sys	0m5.030s
> 
> 
> This also passes with Zero (plus some Zero fixes) now.

Thanks! There is only one unrelated failure in GHA testing.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4725


More information about the hotspot-gc-dev mailing list