< prev index next >
test/hotspot/jtreg/runtime/8176717/TestInheritFD.java
Print this page
rev 59103 : imported patch hotspot
@@ -65,11 +65,11 @@
* (windows can not rename opened files easily)
*
* The third VM communicates the success to rename the file by printing "CLOSED
* FD". The first VM checks that the string was printed by the third VM.
*
- * On unix like systems "lsof" or "pfiles" is used.
+ * On unix like systems "lsof" is used.
*/
public class TestInheritFD {
public static final String LEAKS_FD = "VM RESULT => LEAKS FD";
@@ -174,12 +174,11 @@
static Optional<String[]> lsofCommandCache = stream(new String[][]{
{"/usr/bin/lsof", "-p"},
{"/usr/sbin/lsof", "-p"},
{"/bin/lsof", "-p"},
{"/sbin/lsof", "-p"},
- {"/usr/local/bin/lsof", "-p"},
- {"/usr/bin/pfiles", "-F"}}) // Solaris
+ {"/usr/local/bin/lsof", "-p"}})
.filter(args -> new File(args[0]).exists())
.findFirst();
static Optional<String[]> lsofCommand() {
return lsofCommandCache;
< prev index next >