diff src/share/vm/c1x/c1x_TargetMethod.hpp @ 1484:6b7001391c97

Fix dummy obj boxed long hack by replacing it with a reliable solution.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Mon, 29 Nov 2010 18:32:30 +0100
parents ef7761803480
children 1aa5b22a7716
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_TargetMethod.hpp	Mon Nov 29 16:58:26 2010 +0100
+++ b/src/share/vm/c1x/c1x_TargetMethod.hpp	Mon Nov 29 18:32:30 2010 +0100
@@ -64,6 +64,9 @@
   start_class(HotSpotMethodResolved)                                                    \
     long_field(HotSpotMethodResolved, vmId)                                             \
   end_class                                                                             \
+  start_class(HotSpotProxy)                                                             \
+    static_oop_field(HotSpotProxy, DUMMY_CONSTANT_OBJ, "Ljava/lang/Long;")              \
+  end_class                                                                             \
   start_class(HotSpotTargetMethod)                                                      \
     oop_field(HotSpotTargetMethod, targetMethod, "Lcom/sun/cri/ci/CiTargetMethod;")     \
     oop_field(HotSpotTargetMethod, method, "Lcom/sun/hotspot/c1x/HotSpotMethodResolved;")\