diff src/share/vm/c1x/c1x_TargetMethod.hpp @ 1941:79d04223b8a5

Added caching for resolved types and resolved fields. This is crucial, because the local load elimination will lead to wrong results, if field equality (of two RiField objects with the same object and the same RiType) is not given. The caching makes sure that the default equals implementation is sufficient.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Tue, 28 Dec 2010 18:33:26 +0100
parents 1aa5b22a7716
children 00bc9eaf0e24
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_TargetMethod.hpp	Mon Dec 27 20:35:47 2010 +0100
+++ b/src/share/vm/c1x/c1x_TargetMethod.hpp	Tue Dec 28 18:33:26 2010 +0100
@@ -44,7 +44,6 @@
 
 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, oop_field, static_oop_field)   \
   start_class(HotSpotTypeResolved)                                                      \
-    long_field(HotSpotTypeResolved, vmId)                                               \
     oop_field(HotSpotTypeResolved, javaMirror, "Ljava/lang/Class;")                     \
     oop_field(HotSpotTypeResolved, name, "Ljava/lang/String;")                          \
     int_field(HotSpotTypeResolved, accessFlags)                                         \