src/share/vm/oops/symbol.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/oops/symbol.hpp Wed Sep 4 10:22:32 2013
--- new/src/share/vm/oops/symbol.hpp Wed Sep 4 10:22:32 2013
*** 43,53 ****
--- 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.
! // 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