Mercurial > hg > truffle
diff src/share/vm/ci/ciObjectFactory.hpp @ 4137:04b9a2566eec
Merge with hsx23/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 21:40:27 +0100 |
parents | 53636e2c9d03 5eb9169b1a14 |
children | e522a00b91aa |
line wrap: on
line diff
--- a/src/share/vm/ci/ciObjectFactory.hpp Sat Dec 17 20:50:09 2011 +0100 +++ b/src/share/vm/ci/ciObjectFactory.hpp Sat Dec 17 21:40:27 2011 +0100 @@ -36,6 +36,9 @@ // which ensures that for each oop, at most one ciObject is created. // This invariant allows efficient implementation of ciObject. class ciObjectFactory : public ResourceObj { + friend class VMStructs; + friend class ciEnv; + private: static volatile bool _initialized; static GrowableArray<ciObject*>* _shared_ci_objects; @@ -105,7 +108,8 @@ // Get the ciMethod representing an unloaded/unfound method. ciMethod* get_unloaded_method(ciInstanceKlass* holder, ciSymbol* name, - ciSymbol* signature); + ciSymbol* signature, + ciInstanceKlass* accessor); // Get a ciKlass representing an unloaded klass. ciKlass* get_unloaded_klass(ciKlass* accessing_klass,