Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiRedefineClasses.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 |
---|---|
221 // validated. After the entire constant pool has been parsed, the index | 221 // validated. After the entire constant pool has been parsed, the index |
222 // values can be validated and then the entries are converted into | 222 // values can be validated and then the entries are converted into |
223 // JVM_CONSTANT_UnresolvedClass and JVM_CONSTANT_UnresolvedString | 223 // JVM_CONSTANT_UnresolvedClass and JVM_CONSTANT_UnresolvedString |
224 // entries. During this conversion process, the UTF8 values that are | 224 // entries. During this conversion process, the UTF8 values that are |
225 // indirectly referenced by the JVM_CONSTANT_ClassIndex and | 225 // indirectly referenced by the JVM_CONSTANT_ClassIndex and |
226 // JVM_CONSTANT_StringIndex entries are changed into symbolOops and the | 226 // JVM_CONSTANT_StringIndex entries are changed into Symbol*s and the |
227 // entries are modified to refer to the symbolOops. This optimization | 227 // entries are modified to refer to the Symbol*s. This optimization |
228 // eliminates one level of indirection for those two CP entry types and | 228 // eliminates one level of indirection for those two CP entry types and |
229 // gets the entries ready for verification. During class file parsing | 229 // gets the entries ready for verification. During class file parsing |
230 // it is also possible for JVM_CONSTANT_UnresolvedString entries to be | 230 // it is also possible for JVM_CONSTANT_UnresolvedString entries to be |
231 // resolved into JVM_CONSTANT_String entries. Verification expects to | 231 // resolved into JVM_CONSTANT_String entries. Verification expects to |
232 // find JVM_CONSTANT_UnresolvedClass and either JVM_CONSTANT_String or | 232 // find JVM_CONSTANT_UnresolvedClass and either JVM_CONSTANT_String or |