Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/vmSymbols.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 | 2d26b0046e0d |
children | 06f017f7daa7 |
comparison
equal
deleted
inserted
replaced
1940:e92a9a73324e | 1941:79d04223b8a5 |
---|---|
302 template(createRiType_name, "createRiType") \ | 302 template(createRiType_name, "createRiType") \ |
303 template(createRiType_signature, "(JLjava/lang/String;)Lcom/sun/cri/ri/RiType;") \ | 303 template(createRiType_signature, "(JLjava/lang/String;)Lcom/sun/cri/ri/RiType;") \ |
304 template(createRiTypePrimitive_name, "createRiTypePrimitive") \ | 304 template(createRiTypePrimitive_name, "createRiTypePrimitive") \ |
305 template(createRiTypePrimitive_signature, "(I)Lcom/sun/cri/ri/RiType;") \ | 305 template(createRiTypePrimitive_signature, "(I)Lcom/sun/cri/ri/RiType;") \ |
306 template(createRiTypeUnresolved_name, "createRiTypeUnresolved") \ | 306 template(createRiTypeUnresolved_name, "createRiTypeUnresolved") \ |
307 template(createRiTypeUnresolved_signature, "(Ljava/lang/String;J)Lcom/sun/cri/ri/RiType;") \ | 307 template(createRiTypeUnresolved_signature, "(Ljava/lang/String;)Lcom/sun/cri/ri/RiType;") \ |
308 template(createRiConstantPool_name, "createRiConstantPool") \ | 308 template(createRiConstantPool_name, "createRiConstantPool") \ |
309 template(createRiConstantPool_signature, "(J)Lcom/sun/cri/ri/RiConstantPool;") \ | 309 template(createRiConstantPool_signature, "(J)Lcom/sun/cri/ri/RiConstantPool;") \ |
310 template(createCiConstant_name, "createCiConstant") \ | 310 template(createCiConstant_name, "createCiConstant") \ |
311 template(createCiConstant_signature, "(Lcom/sun/cri/ci/CiKind;J)Lcom/sun/cri/ci/CiConstant;") \ | 311 template(createCiConstant_signature, "(Lcom/sun/cri/ci/CiKind;J)Lcom/sun/cri/ci/CiConstant;") \ |
312 template(createCiConstantFloat_name, "createCiConstantFloat") \ | 312 template(createCiConstantFloat_name, "createCiConstantFloat") \ |