[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with
From:       Aleksey Shipilev <shade () openjdk ! java ! net>
Date:       2021-09-30 6:58:40
Message-ID: lDhu0asfcP4Fvz-gHT-AD18wDmRBMk6xOAMZBQJ2Opc=.d39558ae-ea08-403e-ae65-1d21de2087c0 () github ! com
[Download RAW message or body]

On Wed, 29 Sep 2021 17:46:46 GMT, Aleksey Shipilev <shade@openjdk.org> wrote:

> Fails like this:
> 
> 
> $ CONF=linux-x86_64-server-fastdebug make run-test \
> TEST=java/lang/management/ManagementFactory/MXBeanException.java \
> TEST_VM_OPTS="-XX:+UseShenandoahGC" 
> ...
> 
> java.lang.NullPointerException: Cannot invoke \
> "java.lang.management.MemoryPoolMXBean.setUsageThreshold(long)" because \
> "MXBeanException.pool" is null 
> 
> This test tries to find the pool that is `!p.isUsageThresholdSupported()`, and for \
> Shenandoah there is no such pool. Likewise with ZGC, which is already filtered. 
> Additional testing:
> - [x] Affected test is now skipped for Shenandoah
> - [x] Affected test is still skipped for Z
> - [x] Affected test is still passing for G1

Thanks!

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic