Lines Matching defs:classDefs
1166 jvmtiClassDefinition* classDefs = NULL;
1203 classDefs = (jvmtiClassDefinition *) allocate(
1206 errorOccurred = (classDefs == NULL);
1225 deallocate(jvmtienv, (void*)classDefs);
1232 // clear classDefs so we can correctly free memory during errors
1233 memset(classDefs, 0, numDefs * sizeof(jvmtiClassDefinition));
1245 classDefs[i].klass = (*jnienv)->CallObjectMethod(jnienv, classDef, getDefinitionClassMethodID);
1259 classDefs[i].class_byte_count = (*jnienv)->GetArrayLength(jnienv, targetFiles[i]);
1270 classDefs[i].class_bytes = (unsigned char*)(*jnienv)->GetByteArrayElements(jnienv, targetFiles[i], NULL);
1280 errorCode = (*jvmtienv)->RedefineClasses(jvmtienv, numDefs, classDefs);
1295 * tracks how far we got in processing the classDefs
1300 if ((jbyte *)classDefs[j].class_bytes != NULL) {
1302 targetFiles[j], (jbyte *)classDefs[j].class_bytes,
1315 deallocate(jvmtienv, (void*)classDefs);