hotspot/src/os/solaris/vm/attachListener_solaris.cpp
changeset 18078 10417cf9967d
parent 13963 e5b53c306fb5
child 18931 5de3638104b4
--- a/hotspot/src/os/solaris/vm/attachListener_solaris.cpp	Thu Jun 13 11:16:38 2013 -0700
+++ b/hotspot/src/os/solaris/vm/attachListener_solaris.cpp	Fri Jun 14 07:46:22 2013 -0700
@@ -392,7 +392,7 @@
     return -1;
   }
   assert(fd >= 0, "bad file descriptor");
-  RESTARTABLE(::close(fd), res);
+  ::close(fd);
 
   // attach the door descriptor to the file
   if ((res = ::fattach(dd, initial_path)) == -1) {
@@ -410,7 +410,7 @@
   // rename file so that clients can attach
   if (dd >= 0) {
     if (::rename(initial_path, door_path) == -1) {
-        RESTARTABLE(::close(dd), res);
+        ::close(dd);
         ::fdetach(initial_path);
         dd = -1;
     }
@@ -549,7 +549,7 @@
     }
 
     // close socket and we're done
-    RESTARTABLE(::close(this->socket()), rc);
+    ::close(this->socket());
 
     // were we externally suspended while we were waiting?
     thread->check_and_wait_while_suspended();