|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectml.shifu.guagua.util.JMap
public class JMap
Helper to run jmap and print the output. Copy from Apache Giraph.
| 字段摘要 | |
|---|---|
static String |
ARGS
Arguments to pass in to command |
static String |
CMD
The command to run |
| 构造方法摘要 | |
|---|---|
protected |
JMap()
Do not construct |
| 方法摘要 | |
|---|---|
static int |
getProcessId()
Get the process ID of the current running process |
static void |
heapHistogramDump(int numLines)
Run jmap, print numLines of output from it to stderr. |
static void |
heapHistogramDump(int numLines,
PrintStream printStream)
Run jmap, print numLines of output from it to stream passed in. |
static void |
main(String[] args)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String CMD
public static final String ARGS
| 构造方法详细信息 |
|---|
protected JMap()
| 方法详细信息 |
|---|
public static int getProcessId()
public static void heapHistogramDump(int numLines)
numLines - Number of lines to print
public static void heapHistogramDump(int numLines,
PrintStream printStream)
numLines - Number of lines to printprintStream - Stream to print topublic static void main(String[] args)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||