Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Thu Jan 27 13:42:28 2011 -0800 +++ b/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Thu Jan 27 16:11:27 2011 -0800 @@ -41,11 +41,11 @@ instanceKlassHandle ikh() { return _ikh; }; constantPoolHandle cpool() { return _cpool; }; - u2 symbol_to_cpool_index(symbolOop sym) { + u2 symbol_to_cpool_index(Symbol* sym) { return _symmap->symbol_to_value(sym); } - u2 class_symbol_to_cpool_index(symbolOop sym) { + u2 class_symbol_to_cpool_index(Symbol* sym) { return _classmap->symbol_to_value(sym); }