We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5ae53 commit 6f5441eCopy full SHA for 6f5441e
visualvm/libs.profiler/lib.profiler/native/src-jdk15/Timers.c
@@ -85,6 +85,7 @@ JNIEXPORT jlong JNICALL Java_org_graalvm_visualvm_lib_jfluid_server_system_Timer
85
jvmtiError res;
86
87
res = (*_jvmti)->GetCurrentThreadCpuTime(_jvmti,&threadTime);
88
+ if (res == /* JVMTI_ERROR_UNSUPPORTED_OPERATION */ 73) return -1;
89
if (res != JVMTI_ERROR_NONE) fprintf(stderr, "Profiler Agent Error: GetCurrentThreadCpuTime failed with %d\n",res);
90
assert(res == JVMTI_ERROR_NONE);
91
return threadTime;
0 commit comments