diff src/share/vm/graal/graalJavaAccess.hpp @ 11381:001c41b01d13

HotSpotInstalledCode: moved getCode to Java and added the ability to get the whole blob
author twisti
date Tue, 20 Aug 2013 12:48:28 -0700
parents 4e1db4c9d4c5
children b2882f4ab612
line wrap: on
line diff
--- a/src/share/vm/graal/graalJavaAccess.hpp	Tue Aug 20 20:04:33 2013 +0200
+++ b/src/share/vm/graal/graalJavaAccess.hpp	Tue Aug 20 12:48:28 2013 -0700
@@ -78,11 +78,13 @@
   end_class                                                                                                                                                    \
   start_class(HotSpotInstalledCode)                                                                                                                            \
     long_field(HotSpotInstalledCode, codeBlob)                                                                                                                 \
-    long_field(HotSpotInstalledCode, start)                                                                                                                    \
+    int_field(HotSpotInstalledCode, size)                                                                                                                      \
+    long_field(HotSpotInstalledCode, codeStart)                                                                                                                \
+    int_field(HotSpotInstalledCode, codeSize)                                                                                                                  \
   end_class                                                                                                                                                    \
   start_class(HotSpotNmethod)                                                                                                                                  \
     boolean_field(HotSpotNmethod, isDefault)                                                                                                                   \
-    boolean_field(HotSpotNmethod, isExternal)                                                                                                                   \
+    boolean_field(HotSpotNmethod, isExternal)                                                                                                                  \
   end_class                                                                                                                                                    \
   start_class(HotSpotCompiledCode)                                                                                                                             \
     oop_field(HotSpotCompiledCode, comp, "Lcom/oracle/graal/api/code/CompilationResult;")                                                                      \