diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExits.java @ 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 34354e2e40a3
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExits.java	Mon Dec 27 20:35:47 2010 +0100
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExits.java	Tue Dec 28 18:33:26 2010 +0100
@@ -47,7 +47,7 @@
 
     RiType createRiTypePrimitive(int basicType);
 
-    RiType createRiTypeUnresolved(String name, long accessingClassVmId);
+    RiType createRiTypeUnresolved(String name);
 
     RiConstantPool createRiConstantPool(long vmId);