8057778: Misc cleanups of the attach code (aix)
authorsla
Mon, 08 Sep 2014 20:29:15 +0200
changeset 26454 014eafd6044d
parent 26453 eb89fa61bc70
child 26455 195a6f3e0cd0
8057778: Misc cleanups of the attach code (aix) Reviewed-by: simonis
jdk/src/jdk.attach/aix/classes/sun/tools/attach/AttachProviderImpl.java
jdk/src/jdk.attach/aix/classes/sun/tools/attach/VirtualMachineImpl.java
--- a/jdk/src/jdk.attach/aix/classes/sun/tools/attach/AttachProviderImpl.java	Mon Sep 08 14:46:51 2014 +0200
+++ b/jdk/src/jdk.attach/aix/classes/sun/tools/attach/AttachProviderImpl.java	Mon Sep 08 20:29:15 2014 +0200
@@ -28,8 +28,6 @@
 import com.sun.tools.attach.VirtualMachine;
 import com.sun.tools.attach.VirtualMachineDescriptor;
 import com.sun.tools.attach.AttachNotSupportedException;
-import com.sun.tools.attach.spi.AttachProvider;
-
 import java.io.IOException;
 
 // Based on linux/classes/sun/tools/attach/AttachProviderImpl.java.
@@ -40,9 +38,6 @@
  */
 public class AttachProviderImpl extends HotSpotAttachProvider {
 
-    // perf counter for the JVM version
-    private static final String JVM_VERSION = "java.property.java.vm.version";
-
     public AttachProviderImpl() {
     }
 
--- a/jdk/src/jdk.attach/aix/classes/sun/tools/attach/VirtualMachineImpl.java	Mon Sep 08 14:46:51 2014 +0200
+++ b/jdk/src/jdk.attach/aix/classes/sun/tools/attach/VirtualMachineImpl.java	Mon Sep 08 20:29:15 2014 +0200
@@ -25,14 +25,12 @@
  */
 package sun.tools.attach;
 
-import com.sun.tools.attach.VirtualMachine;
 import com.sun.tools.attach.AgentLoadException;
 import com.sun.tools.attach.AttachNotSupportedException;
 import com.sun.tools.attach.spi.AttachProvider;
 import java.io.InputStream;
 import java.io.IOException;
 import java.io.File;
-import java.util.Properties;
 
 // Based on linux/classes/sun/tools/attach/VirtualMachineImpl.java.