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
UptimeSecondsdoubleWhen it happened, counted from the JVM's start.
IdintThe JVM's own number for it.
KindGcKindWhat kind of collection.
BeforeByteslongHeap in use before.
AfterByteslongHeap in use after: the nearest the log gets to what is alive.
CommittedByteslongHeap the JVM holds from the system. 0 when the line does not say.
PauseMsdoubleHow long the application was stopped.
ExplicitboolSomebody called
System.gc(): it says nothing about the server's need.EvacuationFailureboolG1 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
BeforeBytes
Heap in use before.
public long BeforeBytes { get; init; }
Property Value
CommittedBytes
Heap the JVM holds from the system. 0 when the line does not say.
public long CommittedBytes { get; init; }
Property Value
EvacuationFailure
G1 ran out of room to move objects: the heap is too tight.
public bool EvacuationFailure { get; init; }
Property Value
Explicit
Somebody called System.gc(): it says nothing about the server's need.
public bool Explicit { get; init; }
Property Value
Id
The JVM's own number for it.
public int Id { get; init; }
Property Value
Kind
What kind of collection.
public GcKind Kind { get; init; }
Property Value
PauseMs
How long the application was stopped.
public double PauseMs { get; init; }
Property Value
ReportsLiveHeap
True when AfterBytes is a measure of how much the server keeps alive.
public bool ReportsLiveHeap { get; }
Property Value
UptimeSeconds
When it happened, counted from the JVM's start.
public double UptimeSeconds { get; init; }