• Home
  • Raw
  • Download

Lines Matching refs:gdata

39 BackendGlobalData *gdata = NULL;  variable
221 saveGlobalRef(env, localClassClass, &(gdata->classClass)); in util_initialize()
222 saveGlobalRef(env, localThreadClass, &(gdata->threadClass)); in util_initialize()
223 saveGlobalRef(env, localThreadGroupClass, &(gdata->threadGroupClass)); in util_initialize()
224 saveGlobalRef(env, localClassLoaderClass, &(gdata->classLoaderClass)); in util_initialize()
225 saveGlobalRef(env, localStringClass, &(gdata->stringClass)); in util_initialize()
226 saveGlobalRef(env, localSystemClass, &(gdata->systemClass)); in util_initialize()
230 gdata->threadConstructor = in util_initialize()
231 getMethod(env, gdata->threadClass, in util_initialize()
233 gdata->threadSetDaemon = in util_initialize()
234 getMethod(env, gdata->threadClass, "setDaemon", "(Z)V"); in util_initialize()
235 gdata->threadResume = in util_initialize()
236 getMethod(env, gdata->threadClass, "resume", "()V"); in util_initialize()
237 gdata->systemGetProperty = in util_initialize()
238 getStaticMethod(env, gdata->systemClass, in util_initialize()
240 gdata->setProperty = in util_initialize()
248 error = JVMTI_FUNC_PTR(gdata->jvmti,GetTopThreadGroups) in util_initialize()
249 (gdata->jvmti, &groupCount, &groups); in util_initialize()
257 saveGlobalRef(env, localSystemThreadGroup, &(gdata->systemThreadGroup)); in util_initialize()
260 gdata->property_java_version in util_initialize()
262 gdata->property_java_vm_name in util_initialize()
266 gdata->property_java_vm_info = jvmtiAllocate(1); in util_initialize()
267 gdata->property_java_vm_info[0] = '\0'; in util_initialize()
268 gdata->property_java_class_path in util_initialize()
271 gdata->property_sun_boot_class_path in util_initialize()
274 gdata->property_sun_boot_library_path in util_initialize()
276 gdata->property_path_separator in util_initialize()
278 gdata->property_user_dir in util_initialize()
285 gdata->agent_properties = NULL; in util_initialize()
296 saveGlobalRef(env, localAgentProperties, &(gdata->agent_properties)); in util_initialize()
329 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->stringClass)) { in specificTypeKey()
331 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass)) { in specificTypeKey()
333 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadGroupClass)) { in specificTypeKey()
335 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classLoaderClass)) { in specificTypeKey()
337 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classClass)) { in specificTypeKey()
703 error = JVMTI_FUNC_PTR(gdata->jvmti,GetFieldModifiers) in fieldModifiers()
704 (gdata->jvmti, clazz, field, pmodifiers); in fieldModifiers()
717 error = JVMTI_FUNC_PTR(gdata->jvmti,GetMethodModifiers) in methodModifiers()
718 (gdata->jvmti, method, pmodifiers); in methodModifiers()
729 error = FUNC_PTR(gdata->jvmti,GetMethodDeclaringClass) in methodClass()
730 (gdata->jvmti, method, pclazz); in methodClass()
740 error = JVMTI_FUNC_PTR(gdata->jvmti,GetMethodLocation) in methodLocation()
741 (gdata->jvmti, method, ploc1, ploc2); in methodLocation()
757 error = FUNC_PTR(gdata->jvmti,GetMethodName) in methodSignature()
758 (gdata->jvmti, method, &name, &signature, &generic_signature); in methodSignature()
818 error = JVMTI_FUNC_PTR(gdata->jvmti,GetClassLoader) in classLoader()
819 (gdata->jvmti, clazz, pclazz); in classLoader()
835 error = JVMTI_FUNC_PTR(gdata->jvmti,GetFieldName) in fieldSignature()
836 (gdata->jvmti, clazz, field, &name, &signature, &generic_signature); in fieldSignature()
862 rc = FUNC_PTR(gdata->jvm,GetEnv) in getEnv()
863 (gdata->jvm, (void **)&env, JNI_VERSION_1_2); in getEnv()
893 (env, gdata->threadClass, gdata->threadConstructor, in spawnNewThread()
894 gdata->systemThreadGroup, nameString); in spawnNewThread()
905 (env, thread, gdata->threadSetDaemon, JNI_TRUE); in spawnNewThread()
923 error = JVMTI_FUNC_PTR(gdata->jvmti,RunAgentThread) in spawnNewThread()
924 (gdata->jvmti, thread, func, arg, in spawnNewThread()
938 if ( gdata->vmDead ) { in jvmtiGetCapabilities()
941 if (!gdata->haveCachedJvmtiCapabilities) { in jvmtiGetCapabilities()
944 error = JVMTI_FUNC_PTR(gdata->jvmti,GetCapabilities) in jvmtiGetCapabilities()
945 (gdata->jvmti, &(gdata->cachedJvmtiCapabilities)); in jvmtiGetCapabilities()
949 gdata->haveCachedJvmtiCapabilities = JNI_TRUE; in jvmtiGetCapabilities()
952 *caps = gdata->cachedJvmtiCapabilities; in jvmtiGetCapabilities()
960 if (gdata->cachedJvmtiVersion == 0) { in jvmtiVersion()
962 error = JVMTI_FUNC_PTR(gdata->jvmti,GetVersionNumber) in jvmtiVersion()
963 (gdata->jvmti, &(gdata->cachedJvmtiVersion)); in jvmtiVersion()
968 return gdata->cachedJvmtiVersion; in jvmtiVersion()
1005 return JVMTI_FUNC_PTR(gdata->jvmti,GetSourceDebugExtension) in getSourceDebugExtension()
1006 (gdata->jvmti, clazz, extensionPtr); in getSourceDebugExtension()
1071 error = FUNC_PTR(gdata->jvmti,RawMonitorEnter) in debugMonitorEnter()
1072 (gdata->jvmti, monitor); in debugMonitorEnter()
1090 error = FUNC_PTR(gdata->jvmti,RawMonitorExit) in debugMonitorExit()
1091 (gdata->jvmti, monitor); in debugMonitorExit()
1103 error = FUNC_PTR(&gdata,raw_monitor_enter_no_suspend)(gdata->jvmti, monitor); in debugMonitorEnterNoSuspend()
1120 error = FUNC_PTR(gdata->jvmti,RawMonitorWait) in debugMonitorWait()
1121 (gdata->jvmti, monitor, ((jlong)(-1))); in debugMonitorWait()
1165 error = FUNC_PTR(gdata->jvmti,RawMonitorWait) in debugMonitorTimedWait()
1166 (gdata->jvmti, monitor, millis); in debugMonitorTimedWait()
1183 error = FUNC_PTR(gdata->jvmti,RawMonitorNotify) in debugMonitorNotify()
1184 (gdata->jvmti, monitor); in debugMonitorNotify()
1196 error = FUNC_PTR(gdata->jvmti,RawMonitorNotifyAll) in debugMonitorNotifyAll()
1197 (gdata->jvmti, monitor); in debugMonitorNotifyAll()
1210 error = FUNC_PTR(gdata->jvmti,CreateRawMonitor) in debugMonitorCreate()
1211 (gdata->jvmti, name, &monitor); in debugMonitorCreate()
1223 error = FUNC_PTR(gdata->jvmti,DestroyRawMonitor) in debugMonitorDestroy()
1224 (gdata->jvmti, monitor); in debugMonitorDestroy()
1242 error = JVMTI_FUNC_PTR(gdata->jvmti,GetAllThreads) in allThreads()
1243 (gdata->jvmti, count, &threads); in allThreads()
1262 error = JVMTI_FUNC_PTR(gdata->jvmti,GetThreadGroupInfo) in threadGroupInfo()
1263 (gdata->jvmti, group, info); in threadGroupInfo()
1282 error = FUNC_PTR(gdata->jvmti,GetClassSignature) in classSignature()
1283 (gdata->jvmti, clazz, &signature, pgeneric_signature); in classSignature()
1327 error = JVMTI_FUNC_PTR(gdata->jvmti,GetClassStatus) in classStatus()
1328 (gdata->jvmti, clazz, &status); in classStatus()
1342 error = JVMTI_FUNC_PTR(gdata->jvmti,IsArrayClass) in isArrayClass()
1343 (gdata->jvmti, clazz, &isArray); in isArrayClass()
1356 error = JVMTI_FUNC_PTR(gdata->jvmti,IsInterface) in isInterface()
1357 (gdata->jvmti, clazz, &isInterface); in isInterface()
1369 error = JVMTI_FUNC_PTR(gdata->jvmti,IsFieldSynthetic) in isFieldSynthetic()
1370 (gdata->jvmti, clazz, field, psynthetic); in isFieldSynthetic()
1384 error = JVMTI_FUNC_PTR(gdata->jvmti,IsMethodSynthetic) in isMethodSynthetic()
1385 (gdata->jvmti, method, psynthetic); in isMethodSynthetic()
1400 error = JVMTI_FUNC_PTR(gdata->jvmti,IsMethodNative) in isMethodNative()
1401 (gdata->jvmti, method, &isNative); in isMethodNative()
1424 error = JVMTI_FUNC_PTR(gdata->jvmti,GetObjectHashCode) in objectHashCode()
1425 (gdata->jvmti, object, &hashCode); in objectHashCode()
1441 error = JVMTI_FUNC_PTR(gdata->jvmti,GetImplementedInterfaces) in allInterfaces()
1442 (gdata->jvmti, clazz, pcount, ppinterfaces); in allInterfaces()
1454 error = JVMTI_FUNC_PTR(gdata->jvmti,GetLoadedClasses) in allLoadedClasses()
1455 (gdata->jvmti, pcount, ppclasses); in allLoadedClasses()
1467 error = JVMTI_FUNC_PTR(gdata->jvmti,GetClassLoaderClasses) in allClassLoaderClasses()
1468 (gdata->jvmti, loader, pcount, ppclasses); in allClassLoaderClasses()
1633 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classClass); in isClass()
1640 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass); in isThread()
1647 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadGroupClass); in isThreadGroup()
1654 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->stringClass); in isString()
1661 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classLoaderClass); in isClassLoader()
1698 (env, gdata->systemClass, gdata->systemGetProperty, nameString); in getPropertyValue()
1716 if (gdata->agent_properties == NULL) { in setAgentPropertyValue()
1728 (env, gdata->agent_properties, in setAgentPropertyValue()
1729 gdata->setProperty, in setAgentPropertyValue()
1748 error = JVMTI_FUNC_PTR(gdata->jvmti,GetSystemProperty) in getPropertyUTF8()
1749 (gdata->jvmti, (const char *)propertyName, &value); in getPropertyUTF8()
1783 error = JVMTI_FUNC_PTR(gdata->jvmti,IsMethodObsolete) in isMethodObsolete()
1784 (gdata->jvmti, method, &obsolete); in isMethodObsolete()
1807 rc = JVM_FUNC_PTR(gdata->jvm,GetEnv) in getSpecialJvmti()
1808 (gdata->jvm, (void **)&jvmti, jvmtiVersion()); in getSpecialJvmti()
1846 error = FUNC_PTR(gdata->jvmti,Allocate) in jvmtiAllocate()
1847 (gdata->jvmti, numBytes, (unsigned char**)&ptr); in jvmtiAllocate()
1861 error = FUNC_PTR(gdata->jvmti,Deallocate) in jvmtiDeallocate()
1862 (gdata->jvmti, ptr); in jvmtiDeallocate()
2385 error = FUNC_PTR(gdata->jvmti,GetThreadInfo) in log_debugee_location()
2386 (gdata->jvmti, thread, &info); in log_debugee_location()
2390 error = FUNC_PTR(gdata->jvmti,GetThreadState) in log_debugee_location()
2391 (gdata->jvmti, thread, &state); in log_debugee_location()
2398 error = FUNC_PTR(gdata->jvmti,GetFrameLocation) in log_debugee_location()
2399 (gdata->jvmti, thread, 0, &method, &location); in log_debugee_location()
2728 if ( (gdata->debugflags & USE_ITERATE_THROUGH_HEAP) == 0 ) { in classInstanceCounts()