src/hotspot/share/prims/jni.cpp
changeset 54416 b788c494aa46
parent 53895 b22d8ae270a2
child 54432 532e88de77eb
equal deleted inserted replaced
54415:00fda51e28cf 54416:b788c494aa46
  4164     }
  4164     }
  4165   }
  4165   }
  4166 
  4166 
  4167   if (attach_failed) {
  4167   if (attach_failed) {
  4168     // Added missing cleanup
  4168     // Added missing cleanup
  4169     thread->cleanup_failed_attach_current_thread();
  4169     thread->cleanup_failed_attach_current_thread(daemon);
  4170     return JNI_ERR;
  4170     return JNI_ERR;
  4171   }
  4171   }
  4172 
  4172 
  4173   // mark the thread as no longer attaching
  4173   // mark the thread as no longer attaching
  4174   // this uses a fence to push the change through so we don't have
  4174   // this uses a fence to push the change through so we don't have