2362N/A * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 178N/A * ManagementFactoryHelper provides static factory methods to create 0N/A * instances of the management interface. 3887N/A // The logging MXBean object is an instance of 3887N/A // PlatformLoggingMXBean and java.util.logging.LoggingMXBean 3887N/A // but it can't directly implement two MXBean interfaces 3887N/A // as a compliant MXBean implements exactly one MXBean interface, 3887N/A // or if it implements one interface that is a subinterface of 3887N/A // all the others; otherwise, it is a non-compliant MXBean 3887N/A // and MBeanServer will throw NotCompliantMBeanException. 3887N/A // See the Definition of an MXBean section in javax.management.MXBean spec. 3887N/A // To create a compliant logging MXBean, define a LoggingMXBean interface 3887N/A // that extend PlatformLoggingMXBean and j.u.l.LoggingMXBean 1320N/A * Creates management interface for the given buffer pool. 0N/A * This method is for testing only. 0N/A * This method is for testing only. 0N/A * This method is for testing only. 0N/A * This method is for testing only. 0N/A * This method is for testing only. 178N/A * Registers a given MBean if not registered in the MBeanServer; 178N/A * otherwise, just return. 0N/A // inner class requires these fields to be final 0N/A // if an instance with the object name exists in 0N/A // the MBeanServer ignore the exception 0N/A "sun.management:type=HotspotClassLoading";
0N/A "sun.management:type=HotspotCompilation";
0N/A "sun.management:type=HotspotMemory";
0N/A "sun.management:type=HotspotRuntime";
0N/A "sun.management:type=HotspotThreading";
0N/A // register all internal MBeans if not registered 0N/A // No exception is thrown if a MBean with that object name 0N/A // CompilationMBean may not exist 0N/A // inner class requires these fields to be final 0N/A // ignore exception if not found 0N/A // unregister all internal MBeans 0N/A // CompilationMBean may not exist 0N/A // suspended and native bits may be set in state 0N/A // These values are defined in jmm.h