comparison src/share/vm/ci/ciObjectFactory.hpp @ 3939:f6f3bb0ee072

7088955: add C2 IR support to the SA Reviewed-by: kvn
author never
date Sun, 11 Sep 2011 14:48:24 -0700
parents 1d1603768966
children 5eb9169b1a14
comparison
equal deleted inserted replaced
3938:e6b1331a51d2 3939:f6f3bb0ee072
34 // This class handles requests for the creation of new instances 34 // This class handles requests for the creation of new instances
35 // of ciObject and its subclasses. It contains a caching mechanism 35 // of ciObject and its subclasses. It contains a caching mechanism
36 // which ensures that for each oop, at most one ciObject is created. 36 // which ensures that for each oop, at most one ciObject is created.
37 // This invariant allows efficient implementation of ciObject. 37 // This invariant allows efficient implementation of ciObject.
38 class ciObjectFactory : public ResourceObj { 38 class ciObjectFactory : public ResourceObj {
39 friend class VMStructs;
40 friend class ciEnv;
41
39 private: 42 private:
40 static volatile bool _initialized; 43 static volatile bool _initialized;
41 static GrowableArray<ciObject*>* _shared_ci_objects; 44 static GrowableArray<ciObject*>* _shared_ci_objects;
42 static ciSymbol* _shared_ci_symbols[]; 45 static ciSymbol* _shared_ci_symbols[];
43 static int _shared_ident_limit; 46 static int _shared_ident_limit;