Defines | |
#define | CHECK_EVERYTHING() |
#define | CHECK_CAPABILITY(capability) |
Functions | |
static jvmtiError | check_environment_is_valid (jvmtiEnv *env) |
static jvmtiError | _allocate (jlong size, unsigned char **res) |
static void | _deallocate (unsigned char *mem) |
static jvmtiError | check_everything (jvmtiEnv *env, jint num, jvmtiPhase *phases) |
static jvmtiError | check_env (jvmtiEnv *env) |
static jvmtiError | check_phase (jvmtiEnv *env, jint num, jvmtiPhase *phases) |
#define CHECK_EVERYTHING | ( | ) |
Value:
{ \ jvmtiError error_code_ = (phases != NULL) ? \ check_everything( env, \ sizeof(phases)/sizeof(jvmtiPhase), \ phases) : check_everything( env, 0, \ phases); \ \ if( error_code_ != JVMTI_ERROR_NONE ) \ return error_code_; \ }
#define CHECK_CAPABILITY | ( | capability | ) |
Value:
{ \ jvmtiCapabilities capa; \ jvmtiError err = env -> GetCapabilities(&capa); \ if (err != JVMTI_ERROR_NONE) return err; \ if (!capa.capability) \ return JVMTI_ERROR_MUST_POSSESS_CAPABILITY; \ } \
static jvmtiError check_environment_is_valid | ( | jvmtiEnv * | env | ) | [static] |
static jvmtiError _allocate | ( | jlong | size, | |
unsigned char ** | res | |||
) | [static] |
static void _deallocate | ( | unsigned char * | mem | ) | [static] |
static jvmtiError check_everything | ( | jvmtiEnv * | env, | |
jint | num, | |||
jvmtiPhase * | phases | |||
) | [static] |
static jvmtiError check_env | ( | jvmtiEnv * | env | ) | [static] |
static jvmtiError check_phase | ( | jvmtiEnv * | env, | |
jint | num, | |||
jvmtiPhase * | phases | |||
) | [static] |
Genereated on Tue Mar 11 19:25:57 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.