comparison src/share/vm/prims/jvmtiClassFileReconstituter.hpp @ 2177:3582bf76420e

6990754: Use native memory and reference counting to implement SymbolTable Summary: move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
author coleenp
date Thu, 27 Jan 2011 16:11:27 -0800
parents f95d63e2154a
children 1d1603768966
comparison
equal deleted inserted replaced
2176:27e4ea99855d 2177:3582bf76420e
39 39
40 protected: 40 protected:
41 instanceKlassHandle ikh() { return _ikh; }; 41 instanceKlassHandle ikh() { return _ikh; };
42 constantPoolHandle cpool() { return _cpool; }; 42 constantPoolHandle cpool() { return _cpool; };
43 43
44 u2 symbol_to_cpool_index(symbolOop sym) { 44 u2 symbol_to_cpool_index(Symbol* sym) {
45 return _symmap->symbol_to_value(sym); 45 return _symmap->symbol_to_value(sym);
46 } 46 }
47 47
48 u2 class_symbol_to_cpool_index(symbolOop sym) { 48 u2 class_symbol_to_cpool_index(Symbol* sym) {
49 return _classmap->symbol_to_value(sym); 49 return _classmap->symbol_to_value(sym);
50 } 50 }
51 51
52 public: 52 public:
53 // Calls to this constructor must be proceeded by a ResourceMark 53 // Calls to this constructor must be proceeded by a ResourceMark