• Home
  • Raw
  • Download

Lines Matching refs:gdata

142     error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventNotificationMode)  in set_event_notification()
143 (gdata->jvmti, mode, eventIndex2jvmti(ei), NULL); in set_event_notification()
221 error = JVMTI_FUNC_PTR(gdata->jvmti,GetExtensionFunctions) in find_extension_functions()
222 (gdata->jvmti, &num_extensions, &extension_info); in find_extension_functions()
232 gdata->ddm_process_chunk = (DdmProcessChunk) extension_info[i].func; in find_extension_functions()
236 gdata->raw_monitor_enter_no_suspend = (RawMonitorEnterNoSuspend) extension_info[i].func; in find_extension_functions()
265 if ( gdata!=NULL && gdata->isLoaded==JNI_TRUE ) { in Agent_OnLoad()
271 if ( gdata!=NULL && gdata->vmDead ) { in Agent_OnLoad()
277 gdata = get_gdata(); in Agent_OnLoad()
278 if (gdata == NULL) { in Agent_OnLoad()
282 gdata->isLoaded = JNI_TRUE; in Agent_OnLoad()
285 gdata->jvm = vm; in Agent_OnLoad()
287 gdata->vmDead = JNI_FALSE; in Agent_OnLoad()
291 (vm, (void **)&(gdata->jvmti), JVMTI_VERSION_1); in Agent_OnLoad()
301 (vm, (void **)&(gdata->jvmti), ART_TI_VERSION_1_2); in Agent_OnLoad()
342 NPT_INITIALIZE(npt_lib, &(gdata->npt), NPT_VERSION, NULL); in Agent_OnLoad()
343 if (gdata->npt == NULL) { in Agent_OnLoad()
347 gdata->npt->utf = (gdata->npt->utfInitialize)(NULL); in Agent_OnLoad()
348 if (gdata->npt->utf == NULL) { in Agent_OnLoad()
364 error = JVMTI_FUNC_PTR(gdata->jvmti,GetPotentialCapabilities) in Agent_OnLoad()
365 (gdata->jvmti, &potential_capabilities); in Agent_OnLoad()
425 error = JVMTI_FUNC_PTR(gdata->jvmti,AddCapabilities) in Agent_OnLoad()
426 (gdata->jvmti, &needed_capabilities); in Agent_OnLoad()
452 (void)memset(&(gdata->callbacks),0,sizeof(gdata->callbacks)); in Agent_OnLoad()
453 gdata->callbacks.VMInit = &cbEarlyVMInit; in Agent_OnLoad()
454 gdata->callbacks.VMDeath = &cbEarlyVMDeath; in Agent_OnLoad()
455 gdata->callbacks.Exception = &cbEarlyException; in Agent_OnLoad()
456 error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventCallbacks) in Agent_OnLoad()
457 (gdata->jvmti, &(gdata->callbacks), sizeof(gdata->callbacks)); in Agent_OnLoad()
465 if (find_extension_functions() != JNI_OK || gdata->raw_monitor_enter_no_suspend == NULL) { in Agent_OnLoad()
479 gdata->isLoaded = JNI_FALSE; in Agent_OnUnload()
527 if ( gdata->vmDead ) { in cbEarlyVMInit()
549 gdata->jvmti = NULL; in disposeEnvironment()
556 if ( gdata->vmDead ) { in cbEarlyVMDeath()
560 gdata->jvmti = NULL; in cbEarlyVMDeath()
561 gdata->jvm = NULL; in cbEarlyVMDeath()
562 gdata->vmDead = JNI_TRUE; in cbEarlyVMDeath()
577 if ( gdata->vmDead ) { in cbEarlyException()
727 gdata->vmDead = JNI_TRUE; in jniFatalError()
730 vm = gdata->jvm; in jniFatalError()
767 if ( gdata->vmDead ) { in initialize()
786 (void)memset(&(gdata->callbacks),0,sizeof(gdata->callbacks)); in initialize()
787 error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventCallbacks) in initialize()
788 (gdata->jvmti, &(gdata->callbacks), sizeof(gdata->callbacks)); in initialize()
865 if ( gdata->vmDead ) { in initialize()
1114 gdata->assertOn = DEFAULT_ASSERT_ON; in parseOptions()
1115 gdata->assertFatal = DEFAULT_ASSERT_FATAL; in parseOptions()
1120 gdata->ddmInitiallyActive = JNI_FALSE; in parseOptions()
1154 gdata->options = jvmtiAllocate(length + 1); in parseOptions()
1155 if (gdata->options == NULL) { in parseOptions()
1158 (void)strcpy(gdata->options, options); in parseOptions()
1240 gdata->assertOn = JNI_TRUE; in parseOptions()
1241 gdata->assertFatal = JNI_FALSE; in parseOptions()
1243 gdata->assertOn = JNI_TRUE; in parseOptions()
1244 gdata->assertFatal = JNI_TRUE; in parseOptions()
1246 gdata->assertOn = JNI_FALSE; in parseOptions()
1247 gdata->assertFatal = JNI_FALSE; in parseOptions()
1264 if ( !get_boolean(&str, &(gdata->doerrorexit)) ) { in parseOptions()
1299 gdata->debugflags = (unsigned)strtol(current, NULL, 0); in parseOptions()
1313 if ( !get_boolean(&str, &(gdata->quiet)) ) { in parseOptions()
1321 if ( !get_boolean(&str, &(gdata->modifiedUtf8)) ) { in parseOptions()
1330 if ( !get_boolean(&str, &(gdata->ddmInitiallyActive)) ) { in parseOptions()
1420 if (gdata != NULL) { in debugInit_exit()
1421 gdata->vmDead = JNI_TRUE; in debugInit_exit()
1422 if (gdata->jvmti != NULL) { in debugInit_exit()
1424 disposeEnvironment(gdata->jvmti); in debugInit_exit()
1464 error = JVMTI_FUNC_PTR(gdata->jvmti,GetCurrentThread) in doInitializeOnAttach()
1465 (gdata->jvmti, &currentThread); in doInitializeOnAttach()
1472 cbEarlyVMInit(gdata->jvmti, jnienv, currentThread); in doInitializeOnAttach()