hprof.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stddef.h>
#include <stdarg.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include <sys/types.h>
#include "jni.h"
#include "jvmti.h"
#include "classfile_constants.h"
#include "npt.h"
#include "hprof_md.h"
#include "hprof_error.h"
#include "hprof_util.h"
#include "hprof_blocks.h"
#include "hprof_stack.h"
#include "hprof_init.h"
#include "hprof_table.h"
#include "hprof_string.h"
#include "hprof_class.h"
#include "hprof_tracker.h"
#include "hprof_frame.h"
#include "hprof_monitor.h"
#include "hprof_trace.h"
#include "hprof_site.h"
#include "hprof_event.h"
#include "hprof_reference.h"
#include "hprof_object.h"
#include "hprof_loader.h"
#include "hprof_tls.h"
#include "hprof_check.h"
#include "hprof_io.h"
#include "hprof_listener.h"
#include "hprof_cpu.h"
#include "hprof_tag.h"
Go to the source code of this file.
Data Structures |
| struct | FieldInfo |
| struct | ConstantPoolValue |
| struct | GlobalData |
Defines |
| #define | jlong_high(a) ((jint)((a)>>32)) |
| #define | jlong_low(a) ((jint)(a)) |
| #define | jlong_to_jint(a) ((jint)(a)) |
| #define | jint_to_jlong(a) ((jlong)(a)) |
| #define | jlong_add(a, b) ((a) + (b)) |
| #define | AGENTNAME "hprof" |
| #define | XRUN "-Xrun" AGENTNAME |
| #define | AGENTLIB "-agentlib:" AGENTNAME |
| #define | PRELUDE_FILE "jvm.hprof.txt" |
| #define | FILE_IO_BUFFER_SIZE (1024*64) |
| #define | DEBUGFLAG_UNPREPARED_CLASSES 0x001 |
Typedefs |
| typedef unsigned | SerialNumber |
| typedef unsigned | TableIndex |
| typedef TableIndex | ClassIndex |
| typedef TableIndex | FrameIndex |
| typedef TableIndex | IoNameIndex |
| typedef TableIndex | MonitorIndex |
| typedef TableIndex | ObjectIndex |
| typedef TableIndex | LoaderIndex |
| typedef TableIndex | RefIndex |
| typedef TableIndex | SiteIndex |
| typedef TableIndex | StringIndex |
| typedef TableIndex | TlsIndex |
| typedef TableIndex | TraceIndex |
| typedef int | MethodIndex |
| typedef jint | ClassStatus |
| typedef unsigned char | ObjectKind |
Enumerations |
| enum | ClassStatus {
CLASS_PREPARED = 0x00000001,
CLASS_LOADED = 0x00000002,
CLASS_UNLOADED = 0x00000004,
CLASS_SPECIAL = 0x00000008,
CLASS_IN_LOAD_LIST = 0x00000010,
CLASS_SYSTEM = 0x00000020,
CLASS_DUMPED = 0x00000040
} |
| enum | {
OBJECT_NORMAL = 1,
OBJECT_CLASS = 2,
OBJECT_SYSTEM = 3,
OBJECT_HPROF = 4,
OBJECT_LOADER = 5
} |
| enum | { SITE_DUMP_INCREMENTAL = 0x01,
SITE_SORT_BY_ALLOC = 0x02,
SITE_FORCE_GC = 0x04
} |
Variables |
| GlobalData * | gdata |
Define Documentation
| #define AGENTLIB "-agentlib:" AGENTNAME |
| #define AGENTNAME "hprof" |
| #define DEBUGFLAG_UNPREPARED_CLASSES 0x001 |
| #define FILE_IO_BUFFER_SIZE (1024*64) |
| #define jint_to_jlong |
( |
a |
|
) |
((jlong)(a)) |
| #define jlong_add |
( |
a, |
|
|
b |
|
) |
((a) + (b)) |
| #define jlong_high |
( |
a |
|
) |
((jint)((a)>>32)) |
| #define jlong_low |
( |
a |
|
) |
((jint)(a)) |
| #define jlong_to_jint |
( |
a |
|
) |
((jint)(a)) |
| #define PRELUDE_FILE "jvm.hprof.txt" |
| #define XRUN "-Xrun" AGENTNAME |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| OBJECT_NORMAL |
|
| OBJECT_CLASS |
|
| OBJECT_SYSTEM |
|
| OBJECT_HPROF |
|
| OBJECT_LOADER |
|
Definition at line 136 of file hprof.h.
- Enumerator:
| SITE_DUMP_INCREMENTAL |
|
| SITE_SORT_BY_ALLOC |
|
| SITE_FORCE_GC |
|
Definition at line 146 of file hprof.h.
- Enumerator:
| CLASS_PREPARED |
|
| CLASS_LOADED |
|
| CLASS_UNLOADED |
|
| CLASS_SPECIAL |
|
| CLASS_IN_LOAD_LIST |
|
| CLASS_SYSTEM |
|
| CLASS_DUMPED |
|
Definition at line 122 of file hprof.h.
Variable Documentation