Lines Matching defs:thread

326 setEventNotificationMode(jvmtiEventMode mode, jvmtiEvent event, jthread thread)
331 (gdata->jvmti, mode, event, thread);
581 jthread thread;
587 thread = JNI_FUNC_PTR(env,NewObject)(env, clazz, method, group, name);
589 HPROF_ASSERT(thread!=NULL);
590 return thread;
807 getOwnedMonitorInfo(jthread thread, jobject **ppobjects, jint *pcount)
812 HPROF_ASSERT(thread!=NULL);
818 (gdata->jvmti, thread, pcount, ppobjects);
824 HPROF_JVMTI_ERROR(error, "Cannot get thread owned monitor info");
1323 getThreadLocalStorage(jthread thread)
1328 HPROF_ASSERT(thread!=NULL);
1331 (gdata->jvmti, thread, &ptr);
1338 HPROF_JVMTI_ERROR(error, "Cannot get thread local storage");
1344 setThreadLocalStorage(jthread thread, void *ptr)
1348 HPROF_ASSERT(thread!=NULL);
1350 (gdata->jvmti, thread, (const void *)ptr);
1356 HPROF_JVMTI_ERROR(error, "Cannot set thread local storage");
1361 getThreadState(jthread thread, jint *threadState)
1365 HPROF_ASSERT(thread!=NULL);
1369 (gdata->jvmti, thread, threadState);
1371 HPROF_JVMTI_ERROR(error, "Cannot get thread state");
1376 getThreadInfo(jthread thread, jvmtiThreadInfo *info)
1381 HPROF_ASSERT(thread!=NULL);
1385 (gdata->jvmti, thread, info);
1387 HPROF_JVMTI_ERROR(error, "Cannot get thread info");
1402 HPROF_JVMTI_ERROR(error, "Cannot get thread group info");
1545 jthread thread;
1551 thread = NULL;
1571 thread = newThreadObject(env, clazz, threadConstructor,
1573 HPROF_ASSERT(thread!=NULL);
1574 callVoidMethod(env, thread, threadSetDaemon, JNI_TRUE);
1577 (gdata->jvmti, thread, func, NULL, JVMTI_THREAD_MAX_PRIORITY);
1579 /* After the thread is running... */
1581 /* Make sure the TLS table has this thread as an agent thread */
1582 tls_agent_thread(env, thread);
1587 HPROF_JVMTI_ERROR(error, "Cannot create agent thread");
1592 getThreadCpuTime(jthread thread)
1597 HPROF_ASSERT(thread!=NULL);
1600 (gdata->jvmti, thread, &cpuTime);
1609 getFrameCount(jthread thread, jint *pcount)
1613 HPROF_ASSERT(thread!=NULL);
1617 (gdata->jvmti, thread, pcount);
1625 getStackTrace(jthread thread, jvmtiFrameInfo *pframes, jint depth, jint *pcount)
1629 HPROF_ASSERT(thread!=NULL);
1635 (gdata->jvmti, thread, 0, depth, pframes, pcount);
1655 HPROF_JVMTI_ERROR(error, "Cannot get thread list stack info");