package jvm
- Alphabetic
- Public
- Protected
Type Members
- class ContentionSnapshot extends AnyRef
A thread contention summary providing a brief overview of threads that are BLOCKED, WAITING, or TIMED_WAITING
A thread contention summary providing a brief overview of threads that are BLOCKED, WAITING, or TIMED_WAITING
While this could be an object, we use instantiation as a signal of intent and enable contention monitoring.
- Note
users should ensure that the
java.lang.management.ManagementPermission("control")
is allowed via thejava.lang.SecurityManager
.
- case class CpuProfile(counts: Map[Seq[StackTraceElement], Long], duration: Duration, count: Int, missed: Int) extends Product with Serializable
A CPU profile.
- trait Estimator[T] extends AnyRef
An estimator for values of type T.
- case class Gc(count: Long, name: String, timestamp: Time, duration: Duration) extends Product with Serializable
- class GcPredictor extends AnyRef
A Gc predictor.
A Gc predictor. This predicts a time based on measuring rates, which are reported to the given estimator. Rates are measured every
period
. The estimated GC time is based on interpolating the rate estimated byestimator
. - case class Heap(allocated: Long, tenuringThreshold: Long, ageHisto: Seq[Long]) extends Product with Serializable
Information about the Heap
Information about the Heap
- allocated
Estimated number of bytes that have been allocated so far (into eden)
- tenuringThreshold
How many times an Object needs to be copied before being tenured.
- ageHisto
Histogram of the number of bytes that have been copied as many times. Note: 0-indexed.
- class Heapster extends AnyRef
Support for heapster profiling (google perftools compatible):
Support for heapster profiling (google perftools compatible):
https://github.com/mariusaeriksen/heapster
- class Hotspot extends Jvm
- trait Jvm extends AnyRef
Access JVM internal performance counters.
Access JVM internal performance counters. We maintain a strict interface so that we are decoupled from the actual underlying JVM.
- class Kalman extends AnyRef
A simple Kalman filter to estimate a scalar value.
- class KalmanGaussianError extends Kalman with Estimator[Double]
A Kalman filter in which measurement errors are normally distributed over the given range (as a fraction of the measured value).
- class LoadAverage extends Estimator[Double]
Unix-like load average, an exponentially weighted moving average, smoothed to the given interval (counted in number of measurements).
Unix-like load average, an exponentially weighted moving average, smoothed to the given interval (counted in number of measurements). See: https://web.mit.edu/saltzer/www/publications/instrumentation.html
- trait Pool extends AnyRef
A handle to a garbage collected memory pool.
- case class PoolState(numCollections: Long, capacity: StorageUnit, used: StorageUnit) extends Product with Serializable
- case class Safepoint(syncTimeMillis: Long, totalTimeMillis: Long, count: Long) extends Product with Serializable
Information about the JVM's safepoint
Information about the JVM's safepoint
- syncTimeMillis
Cumulative time, in milliseconds, spent getting all threads to safepoint states
- totalTimeMillis
Cumulative time, in milliseconds, that the application has been stopped for safepoint operations
- count
The number of safepoints taken place since the JVM started
- case class Snapshot(timestamp: Time, heap: Heap, lastGcs: Seq[Gc]) extends Product with Serializable
- class WindowedMeans extends Estimator[Double]
An estimator for weighted windows of means.
Value Members
- object CpuProfile extends Serializable
- object Heapster
- object Jvm
See Jvms for Java compatibility.
- object JvmStats
- object Jvms
Java compatibility for Jvm.
- object NilJvm extends Jvm
- object Opt
Retrieve the named JVM option.
- object numProcs extends GlobalFlag[Double]
Flag for the number of available processors
Flag for the number of available processors
If unset, the default is obtained from the JVM runtime. If set to -1.0, the result is forced to the value provided by the JVM runtime.