void ThreadRuntimeOpenjdk::set_javathread_state(threadobject *t, int state)
{
// Set the state of the java.lang.Thread object.
- java_lang_Thread thread(thread_get_object(t));
+ java_lang_Thread thread(LLNI_WRAP(t->object));
assert(thread.is_non_null());
thread.set_threadStatus(state);
}
return true;
}
+void ThreadRuntimeOpenjdk::clear_heap_reference(java_lang_Thread& jlt)
+{
+ jlt.set_me(0);
+}
+
#endif /* ENABLE_THREADS && WITH_JAVA_RUNTIME_LIBRARY_OPENJDK */