< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalMBean.java

Print this page

        

@@ -281,15 +281,13 @@
     }
 
     @Override
     public javax.management.MBeanInfo getMBeanInfo() {
         List<javax.management.MBeanAttributeInfo> attrs = new ArrayList<>();
-        if (registered != null) {
             for (OptionDescriptor descr : allOptionDescriptors()) {
                 attrs.add(new javax.management.MBeanAttributeInfo(descr.getName(), descr.getType().getName(), descr.getHelp(), true, true, false));
             }
-        }
         javax.management.MBeanOperationInfo[] ops = {
                         new javax.management.MBeanOperationInfo("dumpMethod", "Enable IGV dumps for provided method", new javax.management.MBeanParameterInfo[]{
                                         new javax.management.MBeanParameterInfo("className", "java.lang.String", "Class to observe"),
                                         new javax.management.MBeanParameterInfo("methodName", "java.lang.String", "Method to observe"),
                         }, "void", javax.management.MBeanOperationInfo.ACTION),
< prev index next >