Searched defs:classDefs (Results 1 - 2 of 2) sorted by relevance
/openjdk7/jdk/src/share/back/ |
H A D | VirtualMachineImpl.c | 369 jvmtiClassDefinition *classDefs; local 388 classDefs = jvmtiAllocate(classCount*(int)sizeof(jvmtiClassDefinition)); 389 if (classDefs == NULL) { 394 (void)memset(classDefs, 0, classCount*sizeof(jvmtiClassDefinition)); 429 classDefs[i].klass = clazz; 430 classDefs[i].class_byte_count = byteCount; 431 classDefs[i].class_bytes = bytes; 438 (gdata->jvmti, classCount, classDefs); 444 eventHandler_freeClassBreakpoints(classDefs[i].klass); 451 if ( classDefs[ [all...] |
/openjdk7/jdk/src/share/instrument/ |
H A D | JPLISAgent.c | 1166 jvmtiClassDefinition* classDefs = NULL; local 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); [all...] |
Completed in 34 milliseconds