8154942: Remove ProcessTools.getVmInputArguments() from the hotspot test library, as it is not used by any of the hotspot tests

Reviewed-by: ctornqvi, hseigel
This commit is contained in:
George Triantafillou 2016-05-05 12:25:29 -04:00
parent 565780b7aa
commit 88be76356f

View File

@ -94,22 +94,6 @@ public final class ProcessTools {
return ProcessHandle.current().getPid();
}
/**
* Get the string containing input arguments passed to the VM
*
* @return arguments
*/
public static String getVmInputArguments() {
RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
List<String> args = runtime.getInputArguments();
StringBuilder result = new StringBuilder();
for (String arg : args)
result.append(arg).append(' ');
return result.toString();
}
/**
* Gets the array of strings containing input arguments passed to the VM
*