jdk/src/java.management/share/classes/java/lang/management/CompilationMXBean.java
equal
deleted
inserted
replaced
33 * class of this interface. This instance implementing this interface is |
33 * class of this interface. This instance implementing this interface is |
34 * an <a href="ManagementFactory.html#MXBean">MXBean</a> |
34 * an <a href="ManagementFactory.html#MXBean">MXBean</a> |
35 * that can be obtained by calling |
35 * that can be obtained by calling |
36 * the {@link ManagementFactory#getCompilationMXBean} method or |
36 * the {@link ManagementFactory#getCompilationMXBean} method or |
37 * from the {@link ManagementFactory#getPlatformMBeanServer |
37 * from the {@link ManagementFactory#getPlatformMBeanServer |
38 * platform <tt>MBeanServer</tt>} method. |
38 * platform MBeanServer} method. |
39 * |
39 * |
40 * <p>The <tt>ObjectName</tt> for uniquely identifying the MXBean for |
40 * <p>The {@code ObjectName} for uniquely identifying the MXBean for |
41 * the compilation system within an MBeanServer is: |
41 * the compilation system within an MBeanServer is: |
42 * <blockquote> |
42 * <blockquote> |
43 * {@link ManagementFactory#COMPILATION_MXBEAN_NAME |
43 * {@link ManagementFactory#COMPILATION_MXBEAN_NAME |
44 * <tt>java.lang:type=Compilation</tt>} |
44 * java.lang:type=Compilation} |
45 * </blockquote> |
45 * </blockquote> |
46 * |
46 * |
47 * It can be obtained by calling the |
47 * It can be obtained by calling the |
48 * {@link PlatformManagedObject#getObjectName} method. |
48 * {@link PlatformManagedObject#getObjectName} method. |
49 * |
49 * |
66 |
66 |
67 /** |
67 /** |
68 * Tests if the Java virtual machine supports the monitoring of |
68 * Tests if the Java virtual machine supports the monitoring of |
69 * compilation time. |
69 * compilation time. |
70 * |
70 * |
71 * @return <tt>true</tt> if the monitoring of compilation time is |
71 * @return {@code true} if the monitoring of compilation time is |
72 * supported ; <tt>false</tt> otherwise. |
72 * supported; {@code false} otherwise. |
73 */ |
73 */ |
74 public boolean isCompilationTimeMonitoringSupported(); |
74 public boolean isCompilationTimeMonitoringSupported(); |
75 |
75 |
76 /** |
76 /** |
77 * Returns the approximate accumulated elapsed time (in milliseconds) |
77 * Returns the approximate accumulated elapsed time (in milliseconds) |