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"
Include dependency graph for hprof.h:
This graph shows which files directly or indirectly include this file:

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

GlobalDatagdata

Define Documentation

#define AGENTLIB   "-agentlib:" AGENTNAME

Definition at line 87 of file hprof.h.

#define AGENTNAME   "hprof"

Definition at line 85 of file hprof.h.

#define DEBUGFLAG_UNPREPARED_CLASSES   0x001

Definition at line 240 of file hprof.h.

#define FILE_IO_BUFFER_SIZE   (1024*64)

Definition at line 95 of file hprof.h.

#define jint_to_jlong (  )     ((jlong)(a))

Definition at line 74 of file hprof.h.

#define jlong_add ( a,
 )     ((a) + (b))

Definition at line 76 of file hprof.h.

#define jlong_high (  )     ((jint)((a)>>32))

Definition at line 71 of file hprof.h.

#define jlong_low (  )     ((jint)(a))

Definition at line 72 of file hprof.h.

#define jlong_to_jint (  )     ((jint)(a))

Definition at line 73 of file hprof.h.

#define PRELUDE_FILE   "jvm.hprof.txt"

Definition at line 91 of file hprof.h.

#define XRUN   "-Xrun" AGENTNAME

Definition at line 86 of file hprof.h.


Typedef Documentation

Definition at line 104 of file hprof.h.

typedef jint ClassStatus

Definition at line 131 of file hprof.h.

Definition at line 105 of file hprof.h.

Definition at line 106 of file hprof.h.

Definition at line 109 of file hprof.h.

typedef int MethodIndex

Definition at line 118 of file hprof.h.

Definition at line 107 of file hprof.h.

Definition at line 108 of file hprof.h.

typedef unsigned char ObjectKind

Definition at line 135 of file hprof.h.

Definition at line 110 of file hprof.h.

typedef unsigned SerialNumber

Definition at line 81 of file hprof.h.

Definition at line 111 of file hprof.h.

Definition at line 112 of file hprof.h.

typedef unsigned TableIndex

Definition at line 103 of file hprof.h.

Definition at line 113 of file hprof.h.

Definition at line 114 of file hprof.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
OBJECT_NORMAL 
OBJECT_CLASS 
OBJECT_SYSTEM 
OBJECT_HPROF 
OBJECT_LOADER 

Definition at line 136 of file hprof.h.

anonymous enum
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

Definition at line 66 of file hprof_init.c.


Generated on 19 Nov 2012 for hprof by  doxygen 1.6.1