hotspot/src/share/vm/ci/ciObjectFactory.hpp
changeset 10547 ea4a2ec31ae2
parent 8921 14bfe81f2a9d
child 10734 065435337883
--- a/hotspot/src/share/vm/ci/ciObjectFactory.hpp	Sat Sep 10 17:29:02 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciObjectFactory.hpp	Sun Sep 11 14:48:24 2011 -0700
@@ -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;