src/share/vm/oops/symbol.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8014013 Cdiff src/share/vm/oops/symbol.hpp

src/share/vm/oops/symbol.hpp

Print this page

        

*** 43,53 **** // 0) Symbols need to be reference counted when a pointer to the Symbol is // saved in persistent storage. This does not include the pointer // in the SymbolTable bucket (the _literal field in HashtableEntry) // that points to the Symbol. All other stores of a Symbol* // to a field of a persistent variable (e.g., the _name filed in ! // FieldAccessInfo or _ptr in a CPSlot) is reference counted. // // 1) The lookup of a "name" in the SymbolTable either creates a Symbol F for // "name" and returns a pointer to F or finds a pre-existing Symbol F for // "name" and returns a pointer to it. In both cases the reference count for F // is incremented under the assumption that a pointer to F will be created from --- 43,53 ---- // 0) Symbols need to be reference counted when a pointer to the Symbol is // saved in persistent storage. This does not include the pointer // in the SymbolTable bucket (the _literal field in HashtableEntry) // that points to the Symbol. All other stores of a Symbol* // to a field of a persistent variable (e.g., the _name filed in ! // fieldDescriptor or _ptr in a CPSlot) is reference counted. // // 1) The lookup of a "name" in the SymbolTable either creates a Symbol F for // "name" and returns a pointer to F or finds a pre-existing Symbol F for // "name" and returns a pointer to it. In both cases the reference count for F // is incremented under the assumption that a pointer to F will be created from
src/share/vm/oops/symbol.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File