RFR (XS) 8247754: Shenandoah: mxbeans tests can be shorter

Roman Kennke rkennke at redhat.com
Wed Jun 17 15:19:09 UTC 2020


Ok, good.

Thanks,
Roman

On Wed, 2020-06-17 at 14:06 +0200, Aleksey Shipilev wrote:
> RFE:
>   https://bugs.openjdk.java.net/browse/JDK-8247754
> 
> Fix:
> 
> diff -r 826804f83f85
> test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java
> ---
> a/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.jav
> a      Wed Jun 17 13:37:46
> 2020 +0200
> +++
> b/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.jav
> a      Wed Jun 17 14:05:48
> 2020 +0200
> @@ -92,5 +92,5 @@
> 
>      static final long HEAP_MB = 128;                           //
> adjust for test configuration above
> -    static final long TARGET_MB = Long.getLong("target", 8_000); //
> 8 Gb allocation
> +    static final long TARGET_MB = Long.getLong("target", 2_000); //
> 2 Gb allocation
> 
>      // Should we track the churn precisely?
> diff -r 826804f83f85
> test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
> ---
> a/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.jav
> a      Wed Jun 17 13:37:46
> 2020 +0200
> +++
> b/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.jav
> a      Wed Jun 17 14:05:48
> 2020 +0200
> @@ -86,5 +86,5 @@
> 
>      static final long HEAP_MB = 128;                           //
> adjust for test configuration above
> -    static final long TARGET_MB = Long.getLong("target", 8_000); //
> 8 Gb allocation
> +    static final long TARGET_MB = Long.getLong("target", 2_000); //
> 2 Gb allocation
> 
>      static volatile Object sink;
> 
> Testing: hotspot_gc_shenandoah (faster now)
> 



More information about the hotspot-gc-dev mailing list