You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jmethodID method = env->GetStaticMethodID(*mgtBean, mxb, sig);
r1 was env
r2 was *mgtBean (the class object java/lang/management/ManagementFactory)
r3 was mxb (the method name , getOperatingSystemMXBean)
r4+998 was sig (()Ljava/lang/management/OperatingSystemMXBean)
So the problem is that the env (J9VMThread) is NULL.
The text was updated successfully, but these errors were encountered:
The problem was caused by ThreadPool::stopAll destructing the WorkerThread while it was still running in processLoop. This implicitly detached the thread from VM causing aborts while shutting down.
The solution is to use call source->complete(NULL) for other platforms except windows and zos. This function already sets running=false which will cause WorkerThread::processLoop to break the next time it comes back and calls source->complete(NULL) at the end of WorkerThread::processLoop.
yathamravali
added a commit
to yathamravali/omr-agentcore
that referenced
this issue
Feb 28, 2024
StackTrace of abort:
Assembly decoding:
jmethodID method = env->GetStaticMethodID(*mgtBean, mxb, sig);
r1 was env
r2 was *mgtBean (the class object java/lang/management/ManagementFactory)
r3 was mxb (the method name , getOperatingSystemMXBean)
r4+998 was sig (()Ljava/lang/management/OperatingSystemMXBean)
So the problem is that the env (J9VMThread) is NULL.
The text was updated successfully, but these errors were encountered: