diff src/share/vm/runtime/thread.cpp @ 11139:2e8f19c2feef

7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand Summary: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
author allwin
date Fri, 12 Jul 2013 18:43:27 +0200
parents dbc0b5dc08f5
children e619a2766bcc
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Wed Jul 10 15:49:15 2013 +0000
+++ b/src/share/vm/runtime/thread.cpp	Fri Jul 12 18:43:27 2013 +0200
@@ -3637,6 +3637,7 @@
 
   // Start Attach Listener if +StartAttachListener or it can't be started lazily
   if (!DisableAttachMechanism) {
+    AttachListener::vm_start();
     if (StartAttachListener || AttachListener::init_at_startup()) {
       AttachListener::init();
     }