changeset 11985:d5d417cc0d95

8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field Reviewed-by: dholmes, dsamersoff, egahlin
author poonam
date Mon, 12 Sep 2016 17:18:19 +0000
parents 53a14fe65414
children 0cf03b9d9b1f
files src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java	Mon Sep 12 16:34:36 2016 +0200
+++ b/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());
+  }
 }