--- 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;