Interface IJVMWrapperStatistics
- Namespace
- MASES.JCOBridge.C2JBridge.JVMInterop
- Assembly
- C2JBridge.dll
Public accessor for statistics about JVM JNI pressure
public interface IJVMWrapperStatistics
- Extension Methods
Properties
ExceptionJNICalls
Total exceptions raised from JNI methods invocations
long ExceptionJNICalls { get; }
Property Value
Remarks
It is always a strict counting value independently from LazyCounting
GlobalRefCount
Current global reference count
long GlobalRefCount { get; }
Property Value
Remarks
Can be a lazy, or strict, counting value based on LazyCounting
LazyCounting
Returns true if the lazy counting is enabled
bool LazyCounting { get; }
Property Value
Remarks
To enable a strict counting set the environment variable JCOBRIDGE_StrictStatistics to true.
LocalRefCount
Current local reference count
long LocalRefCount { get; }
Property Value
Remarks
It is always a lazy counting value independently from LazyCounting
TotalJNICalls
Total invocations of JNI methods
long TotalJNICalls { get; }
Property Value
Remarks
Can be a lazy, or strict, counting value based on LazyCounting
TotalJavaVMCalls
Total invocations of Java VM methods
long TotalJavaVMCalls { get; }
Property Value
Remarks
Can be a lazy, or strict, counting value based on LazyCounting
TotalTimeInJNICalls
Total time spent in invocations of JNI methods
[Obsolete("The value is no more measured.")]
TimeSpan TotalTimeInJNICalls { get; }
Property Value
Uptime
Application up-time in milliseconds
long Uptime { get; }
Property Value
WeakGlobalRefCount
Current weak global reference count
long WeakGlobalRefCount { get; }
Property Value
Remarks
Can be a lazy, or strict, counting value based on LazyCounting