类 HeapDumping
- java.lang.Object
-
- net.minecraft.util.HeapDumping
-
public class HeapDumping extends Object
A heap-dumping (dumps all object data in a JVM) utility usingHotSpotDiagnosticMXBeanfrom the Java Management Extensions API.- Mappings:
Namespace Name official agnintermediary net/minecraft/class_5995named net/minecraft/util/HeapDumping
-
-
字段概要
字段 修饰符和类型 字段 说明 private static @Nullable HotSpotDiagnosticMXBeanbeanprivate static StringHOTSPOT_DIAGNOSTIC_MXBEAN_NAMEString representation of theObjectNamefor theHotSpotDiagnosticMXBean.
-
构造器概要
构造器 构造器 说明 HeapDumping()
-
-
-
字段详细资料
-
HOTSPOT_DIAGNOSTIC_MXBEAN_NAME
private static final String HOTSPOT_DIAGNOSTIC_MXBEAN_NAME
String representation of theObjectNamefor theHotSpotDiagnosticMXBean.- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLagn;a:Ljava/lang/String;intermediary field_29840Lnet/minecraft/class_5995;field_29840:Ljava/lang/String;named HOTSPOT_DIAGNOSTIC_MXBEAN_NAMELnet/minecraft/util/HeapDumping;HOTSPOT_DIAGNOSTIC_MXBEAN_NAME:Ljava/lang/String;
-
bean
@Nullable private static @Nullable HotSpotDiagnosticMXBean bean
- Mappings:
Namespace Name Mixin selector official bLagn;b:Lcom/sun/management/HotSpotDiagnosticMXBean;intermediary field_29841Lnet/minecraft/class_5995;field_29841:Lcom/sun/management/HotSpotDiagnosticMXBean;named beanLnet/minecraft/util/HeapDumping;bean:Lcom/sun/management/HotSpotDiagnosticMXBean;
-
-
方法详细资料
-
getBean
private static HotSpotDiagnosticMXBean getBean()
- Mappings:
Namespace Name Mixin selector official aLagn;a()Lcom/sun/management/HotSpotDiagnosticMXBean;intermediary method_34934Lnet/minecraft/class_5995;method_34934()Lcom/sun/management/HotSpotDiagnosticMXBean;named getBeanLnet/minecraft/util/HeapDumping;getBean()Lcom/sun/management/HotSpotDiagnosticMXBean;
-
dump
public static void dump(String outputFile, boolean live)
Dumps the heap to theoutputFilefile in the same format as the hprof heap dump.- 参数:
outputFile- the system-dependent file namelive- iftruedump only live objects, i.e. objects that are reachable from others- 另请参阅:
HotSpotDiagnosticMXBean#dumpHeap(String, boolean)- Mappings:
Namespace Name Mixin selector official aLagn;a(Ljava/lang/String;Z)Vintermediary method_34935Lnet/minecraft/class_5995;method_34935(Ljava/lang/String;Z)Vnamed dumpLnet/minecraft/util/HeapDumping;dump(Ljava/lang/String;Z)V
-
-