jrockit.management
Interface CompilationMXBean

All Superinterfaces:
java.lang.management.CompilationMXBean

public interface CompilationMXBean
extends java.lang.management.CompilationMXBean

This interface exposes class compilation-specific information. It is JRockit-specific extension of java.lang.management.CompilationMXBean.

Author:
Marcus Hirt

Method Summary
 long getJITCompilationTime()
          Returns the time spent JIT compiling
 long getOptimizingTime()
          Returns the time spent optimizing.
 boolean isVerbose()
          Returns true if verbose:cg is enabled, false otherwise.
 void setVerbose(boolean enable)
          Enables/Disables verbosity for the code generations process
 
Methods inherited from interface java.lang.management.CompilationMXBean
getName, getTotalCompilationTime, isCompilationTimeMonitoringSupported
 

Method Detail

getJITCompilationTime

long getJITCompilationTime()
Returns the time spent JIT compiling

Returns:
the time spent JIT compiling.

getOptimizingTime

long getOptimizingTime()
Returns the time spent optimizing.

Returns:
the time spent optimizing.

isVerbose

boolean isVerbose()
Returns true if verbose:cg is enabled, false otherwise.

Returns:
true if verbose:cg is enabled, false otherwise.

setVerbose

void setVerbose(boolean enable)
Enables/Disables verbosity for the code generations process

Parameters:
enable - true to enable, false to disable.
Throws:
SecurityPermission - if you don't have the control permission set.
See Also:
ManagementPermission


Copyright © 2004-2005 BEA Systems Inc.