8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field
authorpoonam
Mon, 12 Sep 2016 17:18:19 +0000
changeset 41079 c8ea0d4203d6
parent 41077 19f70464986e
child 41080 5502eb75f1ad
8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field Reviewed-by: dholmes, dsamersoff, egahlin
hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java
--- a/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java	Mon Sep 12 16:34:36 2016 +0200
+++ b/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java	Mon Sep 12 17:18:19 2016 +0000
@@ -65,4 +65,7 @@
     super(addr);
     virtualConstructor = v;
   }
+  public Address getData() {
+    return dataField.getValue(getAddress());
+  }
 }