• Home
  • Raw
  • Download

Lines Matching refs:evinfo

129 static void saveEventInfoRefs(JNIEnv *env, EventInfo *evinfo);
130 static void tossEventInfoRefs(JNIEnv *env, EventInfo *evinfo);
281 writeSingleStepEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeSingleStepEvent() argument
283 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeSingleStepEvent()
284 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeSingleStepEvent()
288 writeBreakpointEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeBreakpointEvent() argument
290 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeBreakpointEvent()
291 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeBreakpointEvent()
295 writeFieldAccessEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeFieldAccessEvent() argument
299 fieldClassTag = referenceTypeTag(evinfo->u.field_access.field_clazz); in writeFieldAccessEvent()
301 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeFieldAccessEvent()
302 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeFieldAccessEvent()
304 (void)outStream_writeObjectRef(env, out, evinfo->u.field_access.field_clazz); in writeFieldAccessEvent()
305 (void)outStream_writeFieldID(out, evinfo->u.field_access.field); in writeFieldAccessEvent()
306 (void)outStream_writeObjectTag(env, out, evinfo->object); in writeFieldAccessEvent()
307 (void)outStream_writeObjectRef(env, out, evinfo->object); in writeFieldAccessEvent()
312 EventInfo *evinfo) in writeFieldModificationEvent() argument
316 fieldClassTag = referenceTypeTag(evinfo->u.field_modification.field_clazz); in writeFieldModificationEvent()
318 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeFieldModificationEvent()
319 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeFieldModificationEvent()
321 (void)outStream_writeObjectRef(env, out, evinfo->u.field_modification.field_clazz); in writeFieldModificationEvent()
322 (void)outStream_writeFieldID(out, evinfo->u.field_modification.field); in writeFieldModificationEvent()
323 (void)outStream_writeObjectTag(env, out, evinfo->object); in writeFieldModificationEvent()
324 (void)outStream_writeObjectRef(env, out, evinfo->object); in writeFieldModificationEvent()
325 (void)outStream_writeValue(env, out, (jbyte)evinfo->u.field_modification.signature_type, in writeFieldModificationEvent()
326 evinfo->u.field_modification.new_value); in writeFieldModificationEvent()
330 writeExceptionEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeExceptionEvent() argument
332 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeExceptionEvent()
333 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeExceptionEvent()
334 (void)outStream_writeObjectTag(env, out, evinfo->object); in writeExceptionEvent()
335 (void)outStream_writeObjectRef(env, out, evinfo->object); in writeExceptionEvent()
336 writeCodeLocation(out, evinfo->u.exception.catch_clazz, in writeExceptionEvent()
337 evinfo->u.exception.catch_method, evinfo->u.exception.catch_location); in writeExceptionEvent()
341 writeThreadEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeThreadEvent() argument
343 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeThreadEvent()
347 writeMonitorEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeMonitorEvent() argument
350 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeMonitorEvent()
351 (void)outStream_writeObjectTag(env, out, evinfo->object); in writeMonitorEvent()
352 (void)outStream_writeObjectRef(env, out, evinfo->object); in writeMonitorEvent()
353 if (evinfo->ei == EI_MONITOR_WAIT || evinfo->ei == EI_MONITOR_WAITED) { in writeMonitorEvent()
358 klass=getMethodClass(gdata->jvmti, evinfo->method); in writeMonitorEvent()
359 writeCodeLocation(out, klass, evinfo->method, evinfo->location); in writeMonitorEvent()
360 if (evinfo->ei == EI_MONITOR_WAIT) { in writeMonitorEvent()
361 (void)outStream_writeLong(out, evinfo->u.monitor.timeout); in writeMonitorEvent()
362 } else if (evinfo->ei == EI_MONITOR_WAITED) { in writeMonitorEvent()
363 (void)outStream_writeBoolean(out, evinfo->u.monitor.timed_out); in writeMonitorEvent()
370 writeCodeLocation(out, evinfo->clazz, evinfo->method, evinfo->location); in writeMonitorEvent()
375 writeClassEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeClassEvent() argument
382 classTag = referenceTypeTag(evinfo->clazz); in writeClassEvent()
383 error = classSignature(evinfo->clazz, &signature, NULL); in writeClassEvent()
387 status = classStatus(evinfo->clazz); in writeClassEvent()
389 (void)outStream_writeObjectRef(env, out, evinfo->thread); in writeClassEvent()
391 (void)outStream_writeObjectRef(env, out, evinfo->clazz); in writeClassEvent()
398 writeVMDeathEvent(JNIEnv *env, PacketOutputStream *out, EventInfo *evinfo) in writeVMDeathEvent() argument
406 EventInfo *evinfo = &command->info; in handleEventCommandSingle() local
408 (void)outStream_writeByte(out, eventIndex2jdwp(evinfo->ei)); in handleEventCommandSingle()
411 switch (evinfo->ei) { in handleEventCommandSingle()
413 writeSingleStepEvent(env, out, evinfo); in handleEventCommandSingle()
416 writeBreakpointEvent(env, out, evinfo); in handleEventCommandSingle()
419 writeFieldAccessEvent(env, out, evinfo); in handleEventCommandSingle()
422 writeFieldModificationEvent(env, out, evinfo); in handleEventCommandSingle()
425 writeExceptionEvent(env, out, evinfo); in handleEventCommandSingle()
429 writeThreadEvent(env, out, evinfo); in handleEventCommandSingle()
433 writeClassEvent(env, out, evinfo); in handleEventCommandSingle()
439 writeMonitorEvent(env, out, evinfo); in handleEventCommandSingle()
442 writeVMDeathEvent(env, out, evinfo); in handleEventCommandSingle()
448 tossEventInfoRefs(env, evinfo); in handleEventCommandSingle()
764 saveEventInfoRefs(JNIEnv *env, EventInfo *evinfo) in saveEventInfoRefs() argument
776 if ( evinfo->thread != NULL ) { in saveEventInfoRefs()
777 pthread = &(evinfo->thread); in saveEventInfoRefs()
782 if ( evinfo->clazz != NULL ) { in saveEventInfoRefs()
783 pclazz = &(evinfo->clazz); in saveEventInfoRefs()
788 if ( evinfo->object != NULL ) { in saveEventInfoRefs()
789 pobject = &(evinfo->object); in saveEventInfoRefs()
795 switch (evinfo->ei) { in saveEventInfoRefs()
797 if ( evinfo->u.field_modification.field_clazz != NULL ) { in saveEventInfoRefs()
798 pclazz = &(evinfo->u.field_modification.field_clazz); in saveEventInfoRefs()
803 sig = evinfo->u.field_modification.signature_type; in saveEventInfoRefs()
805 if ( evinfo->u.field_modification.new_value.l != NULL ) { in saveEventInfoRefs()
806 pobject = &(evinfo->u.field_modification.new_value.l); in saveEventInfoRefs()
814 if ( evinfo->u.field_access.field_clazz != NULL ) { in saveEventInfoRefs()
815 pclazz = &(evinfo->u.field_access.field_clazz); in saveEventInfoRefs()
822 if ( evinfo->u.exception.catch_clazz != NULL ) { in saveEventInfoRefs()
823 pclazz = &(evinfo->u.exception.catch_clazz); in saveEventInfoRefs()
839 tossEventInfoRefs(JNIEnv *env, EventInfo *evinfo) in tossEventInfoRefs() argument
842 if ( evinfo->thread != NULL ) { in tossEventInfoRefs()
843 tossGlobalRef(env, &(evinfo->thread)); in tossEventInfoRefs()
845 if ( evinfo->clazz != NULL ) { in tossEventInfoRefs()
846 tossGlobalRef(env, &(evinfo->clazz)); in tossEventInfoRefs()
848 if ( evinfo->object != NULL ) { in tossEventInfoRefs()
849 tossGlobalRef(env, &(evinfo->object)); in tossEventInfoRefs()
851 switch (evinfo->ei) { in tossEventInfoRefs()
853 if ( evinfo->u.field_modification.field_clazz != NULL ) { in tossEventInfoRefs()
854 tossGlobalRef(env, &(evinfo->u.field_modification.field_clazz)); in tossEventInfoRefs()
856 sig = evinfo->u.field_modification.signature_type; in tossEventInfoRefs()
858 if ( evinfo->u.field_modification.new_value.l != NULL ) { in tossEventInfoRefs()
859 tossGlobalRef(env, &(evinfo->u.field_modification.new_value.l)); in tossEventInfoRefs()
864 if ( evinfo->u.field_access.field_clazz != NULL ) { in tossEventInfoRefs()
865 tossGlobalRef(env, &(evinfo->u.field_access.field_clazz)); in tossEventInfoRefs()
869 if ( evinfo->u.exception.catch_clazz != NULL ) { in tossEventInfoRefs()
870 tossGlobalRef(env, &(evinfo->u.exception.catch_clazz)); in tossEventInfoRefs()
996 eventHelper_recordEvent(EventInfo *evinfo, jint id, jbyte suspendPolicy, in eventHelper_recordEvent() argument
1013 (void)memcpy(&command->u.eventCommand.info, evinfo, sizeof(*evinfo)); in eventHelper_recordEvent()