From 2347610827502b107de831d8bca49ac86847e3c4 Mon Sep 17 00:00:00 2001 From: Poonam Bajaj Date: Mon, 12 Sep 2016 17:18:19 +0000 Subject: [PATCH] 8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field Reviewed-by: dholmes, dsamersoff, egahlin --- .../share/classes/sun/jvm/hotspot/utilities/GrowableArray.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java b/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java index e66586e4b4f..ca757cac7be 100644 --- a/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java +++ b/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/GrowableArray.java @@ -65,4 +65,7 @@ public class GrowableArray extends GenericGrowableArray { super(addr); virtualConstructor = v; } + public Address getData() { + return dataField.getValue(getAddress()); + } }