Table of Contents

Struct GcEvent

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

One collection read from the GC log.

public readonly record struct GcEvent : IEquatable<GcEvent>
Implements
Inherited Members

Constructors

GcEvent(double, int, GcKind, long, long, long, double, bool, bool)

One collection read from the GC log.

public GcEvent(double UptimeSeconds, int Id, GcKind Kind, long BeforeBytes, long AfterBytes, long CommittedBytes, double PauseMs, bool Explicit, bool EvacuationFailure)

Parameters

UptimeSeconds double

When it happened, counted from the JVM's start.

Id int

The JVM's own number for it.

Kind GcKind

What kind of collection.

BeforeBytes long

Heap in use before.

AfterBytes long

Heap in use after: the nearest the log gets to what is alive.

CommittedBytes long

Heap the JVM holds from the system. 0 when the line does not say.

PauseMs double

How long the application was stopped.

Explicit bool

Somebody called System.gc(): it says nothing about the server's need.

EvacuationFailure bool

G1 ran out of room to move objects: the heap is too tight.

Properties

AfterBytes

Heap in use after: the nearest the log gets to what is alive.

public long AfterBytes { get; init; }

Property Value

long

BeforeBytes

Heap in use before.

public long BeforeBytes { get; init; }

Property Value

long

CommittedBytes

Heap the JVM holds from the system. 0 when the line does not say.

public long CommittedBytes { get; init; }

Property Value

long

EvacuationFailure

G1 ran out of room to move objects: the heap is too tight.

public bool EvacuationFailure { get; init; }

Property Value

bool

Explicit

Somebody called System.gc(): it says nothing about the server's need.

public bool Explicit { get; init; }

Property Value

bool

Id

The JVM's own number for it.

public int Id { get; init; }

Property Value

int

Kind

What kind of collection.

public GcKind Kind { get; init; }

Property Value

GcKind

PauseMs

How long the application was stopped.

public double PauseMs { get; init; }

Property Value

double

ReportsLiveHeap

True when AfterBytes is a measure of how much the server keeps alive.

public bool ReportsLiveHeap { get; }

Property Value

bool

UptimeSeconds

When it happened, counted from the JVM's start.

public double UptimeSeconds { get; init; }

Property Value

double