Skip to main content

GcStats

Struct GcStats 

Source
pub struct GcStats {
Show 21 fields pub s0c: f64, pub s1c: f64, pub s0u: f64, pub s1u: f64, pub ec: f64, pub eu: f64, pub oc: f64, pub ou: f64, pub mc: f64, pub mu: f64, pub ccsc: f64, pub ccsu: f64, pub ygc: u64, pub ygct: f64, pub fgc: u64, pub fgct: f64, pub cgc: u64, pub cgct: f64, pub gct: f64, pub lgcc: String, pub gcc: String,
}
Expand description

Garbage Collection statistics.

Fields§

§s0c: f64

Survivor space 0 capacity (KB).

§s1c: f64

Survivor space 1 capacity (KB).

§s0u: f64

Survivor space 0 used (KB).

§s1u: f64

Survivor space 1 used (KB).

§ec: f64

Eden space capacity (KB).

§eu: f64

Eden space used (KB).

§oc: f64

Old space capacity (KB).

§ou: f64

Old space used (KB).

§mc: f64

Metaspace capacity (KB).

§mu: f64

Metaspace used (KB).

§ccsc: f64

Compressed class space capacity (KB).

§ccsu: f64

Compressed class space used (KB).

§ygc: u64

Number of young generation GC events.

§ygct: f64

Total time spent in young generation GC (seconds).

§fgc: u64

Number of full GC events.

§fgct: f64

Total time spent in full GC (seconds).

§cgc: u64

Number of concurrent GC events (e.g., ZGC, Shenandoah).

§cgct: f64

Total time spent in concurrent GC (seconds).

§gct: f64

Total garbage collection time (seconds).

§lgcc: String

Last GC cause.

§gcc: String

Current GC cause.

Trait Implementations§

Source§

impl Clone for GcStats

Source§

fn clone(&self) -> GcStats

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GcStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GcStats

Source§

fn default() -> GcStats

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.