8139170: JVMCI refresh
authortwisti
Wed, 04 Nov 2015 07:01:03 -1000
changeset 33569 229c18cf59b4
parent 33434 c4f02c94818a
child 33570 31ae937694f9
8139170: JVMCI refresh Reviewed-by: kvn
test/lib/sun/hotspot/code/CodeBlob.java
test/lib/sun/hotspot/code/NMethod.java
--- a/test/lib/sun/hotspot/code/CodeBlob.java	Fri Oct 30 12:03:08 2015 -0700
+++ b/test/lib/sun/hotspot/code/CodeBlob.java	Wed Nov 04 07:01:03 2015 -1000
@@ -47,22 +47,24 @@
     return new CodeBlob(obj);
   }
   protected CodeBlob(Object[] obj) {
-    assert obj.length == 3;
+    assert obj.length == 4;
     name = (String) obj[0];
     size = (Integer) obj[1];
     code_blob_type = BlobType.values()[(Integer) obj[2]];
     assert code_blob_type.id == (Integer) obj[2];
+    address = (Long) obj[3];
   }
   public final String name;
   public final int size;
   public final BlobType code_blob_type;
-
+  public final long address;
   @Override
   public String toString() {
     return "CodeBlob{"
         + "name=" + name
         + ", size=" + size
         + ", code_blob_type=" + code_blob_type
+        + ", address=" + address
         + '}';
   }
 }
--- a/test/lib/sun/hotspot/code/NMethod.java	Fri Oct 30 12:03:08 2015 -0700
+++ b/test/lib/sun/hotspot/code/NMethod.java	Wed Nov 04 07:01:03 2015 -1000
@@ -39,12 +39,12 @@
     comp_level = (Integer) obj[1];
     insts = (byte[]) obj[2];
     compile_id = (Integer) obj[3];
-    address = (Long) obj[4];
+    entry_point = (Long) obj[4];
   }
   public final byte[] insts;
   public final int comp_level;
   public final int compile_id;
-  public final long address;
+  public final long entry_point;
 
   @Override
   public String toString() {
@@ -53,7 +53,7 @@
         + ", insts=" + insts
         + ", comp_level=" + comp_level
         + ", compile_id=" + compile_id
-        + ", address=" + address
+        + ", entry_point=" + entry_point
         + '}';
   }
 }