< prev index next >
src/hotspot/share/prims/jni.cpp
Print this page
*** 4164,4174 ****
}
}
if (attach_failed) {
// Added missing cleanup
! thread->cleanup_failed_attach_current_thread();
return JNI_ERR;
}
// mark the thread as no longer attaching
// this uses a fence to push the change through so we don't have
--- 4164,4174 ----
}
}
if (attach_failed) {
// Added missing cleanup
! thread->cleanup_failed_attach_current_thread(daemon);
return JNI_ERR;
}
// mark the thread as no longer attaching
// this uses a fence to push the change through so we don't have
< prev index next >