Package net.minecraft.util
Class HeapDumping
java.lang.Object
net.minecraft.util.HeapDumping
A heap-dumping (dumps all object data in a JVM) utility using
HotSpotDiagnosticMXBean
from the Java Management Extensions API.- Mappings:
Namespace Name official agn
intermediary net/minecraft/class_5995
named net/minecraft/util/HeapDumping
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static @Nullable HotSpotDiagnosticMXBean
private static String
String representation of theObjectName
for theHotSpotDiagnosticMXBean
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Dumps the heap to theoutputFile
file in the same format as the hprof heap dump.private static HotSpotDiagnosticMXBean
getBean()
-
Field Details
-
HOTSPOT_DIAGNOSTIC_MXBEAN_NAME
String representation of theObjectName
for theHotSpotDiagnosticMXBean
.- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lagn;a:Ljava/lang/String;
intermediary field_29840
Lnet/minecraft/class_5995;field_29840:Ljava/lang/String;
named HOTSPOT_DIAGNOSTIC_MXBEAN_NAME
Lnet/minecraft/util/HeapDumping;HOTSPOT_DIAGNOSTIC_MXBEAN_NAME:Ljava/lang/String;
-
bean
- Mappings:
Namespace Name Mixin selector official b
Lagn;b:Lcom/sun/management/HotSpotDiagnosticMXBean;
intermediary field_29841
Lnet/minecraft/class_5995;field_29841:Lcom/sun/management/HotSpotDiagnosticMXBean;
named bean
Lnet/minecraft/util/HeapDumping;bean:Lcom/sun/management/HotSpotDiagnosticMXBean;
-
-
Constructor Details
-
HeapDumping
public HeapDumping()
-
-
Method Details
-
getBean
- Mappings:
Namespace Name Mixin selector official a
Lagn;a()Lcom/sun/management/HotSpotDiagnosticMXBean;
intermediary method_34934
Lnet/minecraft/class_5995;method_34934()Lcom/sun/management/HotSpotDiagnosticMXBean;
named getBean
Lnet/minecraft/util/HeapDumping;getBean()Lcom/sun/management/HotSpotDiagnosticMXBean;
-
dump
Dumps the heap to theoutputFile
file in the same format as the hprof heap dump.- Parameters:
outputFile
- the system-dependent file namelive
- iftrue
dump only live objects, i.e. objects that are reachable from others- See Also:
HotSpotDiagnosticMXBean.dumpHeap(String, boolean)
- Mappings:
Namespace Name Mixin selector official a
Lagn;a(Ljava/lang/String;Z)V
intermediary method_34935
Lnet/minecraft/class_5995;method_34935(Ljava/lang/String;Z)V
named dump
Lnet/minecraft/util/HeapDumping;dump(Ljava/lang/String;Z)V
-