Merge "Check for unattached threads in JVMTI functions"