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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with
From:       Aleksey Shipilev <shade () openjdk ! java ! net>
Date:       2021-09-30 6:58:41
Message-ID: N9aV_E5PdxB2Fqdn2qTLAP0KLSZRrHSY86QAuRt2qyU=.a0c87c6b-af5b-4aff-994b-6d8ceb936799 () 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

This pull request has now been integrated.

Changeset: c0533ef2
Author:    Aleksey Shipilev <shade@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c0533ef2d8e526aaec0eebe862f4bbefc159ea37
                
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with \
Shenandoah

Reviewed-by: alanb, mchung

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

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