diff src/share/vm/c1x/c1x_VMExits.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 ef7761803480
children 569d3fe7d65c
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_VMExits.hpp	Mon Dec 27 20:35:47 2010 +0100
+++ b/src/share/vm/c1x/c1x_VMExits.hpp	Tue Dec 28 18:33:26 2010 +0100
@@ -51,8 +51,8 @@
   // public abstract RiType createRiType(long vmId, String name);
   static oop createRiType(jlong vmId, Handle name, TRAPS);
 
-  // public abstract RiType createRiTypeUnresolved(String name, long accessingClassVmId);
-  static oop createRiTypeUnresolved(Handle name, jlong accessingClassVmId, TRAPS);
+  // public abstract RiType createRiTypeUnresolved(String name);
+  static oop createRiTypeUnresolved(Handle name, TRAPS);
 
   // public abstract RiConstantPool createRiConstantPool(long vmId);
   static oop createRiConstantPool(jlong vmId, TRAPS);