src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory.java
src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory.java
Print this page
*** 89,94 ****
--- 89,118 ----
* {@code CompLevel} enum value)
*/
public CompilationLevel adjustCompilationLevel(Class<?> declaringClass, String name, String signature, boolean isOsr, CompilationLevel level) {
throw new InternalError("Should not reach here");
}
+
+ /** Name of the {@link MBeanInfo MBean} representing the internals
+ * of the current JVMCI compiler. By default returns <code>null</code>
+ * signaling no such bean is present. Overwrite together with {@link #mbean()}
+ * if there is a bean associated with the compiler.
+ *
+ * @return name of the bean or <code>null</code> if no such bean
+ * is provided by the runtime
+ */
+ public String mbeanName() {
+ return null;
+ }
+
+ /** Instance of the {@link MBeanInfo MBean} representing the internals
+ * of the current JVMCI compiler. By default returns <code>null</code>
+ * signaling no such bean is present. Overwrite together with {@link #mbeanName()}
+ * if there is a bean associated with the compiler.
+ *
+ * @return name of the bean or <code>null</code> if no such bean
+ * is provided by the runtime
+ */
+ public Object mbean() {
+ return null;
+ }
}
src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory.java
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File