Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1940:e92a9a73324e | 1941:79d04223b8a5 |
---|---|
45 | 45 |
46 RiType createRiType(long vmId, String name); | 46 RiType createRiType(long vmId, String name); |
47 | 47 |
48 RiType createRiTypePrimitive(int basicType); | 48 RiType createRiTypePrimitive(int basicType); |
49 | 49 |
50 RiType createRiTypeUnresolved(String name, long accessingClassVmId); | 50 RiType createRiTypeUnresolved(String name); |
51 | 51 |
52 RiConstantPool createRiConstantPool(long vmId); | 52 RiConstantPool createRiConstantPool(long vmId); |
53 | 53 |
54 CiConstant createCiConstant(CiKind kind, long value); | 54 CiConstant createCiConstant(CiKind kind, long value); |
55 | 55 |