Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274522

java/lang/management/ManagementFactory/MXBeanException.java test fails with Shenandoah

    XMLWordPrintable

    Details

      Backports

        Description

        $ 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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: