Mercurial > hg > truffle
comparison src/share/vm/oops/symbol.hpp @ 12264:b2e698d2276c
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
author | drchase |
---|---|
date | Fri, 13 Sep 2013 22:38:02 -0400 |
parents | 9758d9f36299 |
children | cd6b3f1a94ff |
comparison
equal
deleted
inserted
replaced
12261:2c98370f2611 | 12264:b2e698d2276c |
---|---|
43 // 0) Symbols need to be reference counted when a pointer to the Symbol is | 43 // 0) Symbols need to be reference counted when a pointer to the Symbol is |
44 // saved in persistent storage. This does not include the pointer | 44 // saved in persistent storage. This does not include the pointer |
45 // in the SymbolTable bucket (the _literal field in HashtableEntry) | 45 // in the SymbolTable bucket (the _literal field in HashtableEntry) |
46 // that points to the Symbol. All other stores of a Symbol* | 46 // that points to the Symbol. All other stores of a Symbol* |
47 // to a field of a persistent variable (e.g., the _name filed in | 47 // to a field of a persistent variable (e.g., the _name filed in |
48 // FieldAccessInfo or _ptr in a CPSlot) is reference counted. | 48 // fieldDescriptor or _ptr in a CPSlot) is reference counted. |
49 // | 49 // |
50 // 1) The lookup of a "name" in the SymbolTable either creates a Symbol F for | 50 // 1) The lookup of a "name" in the SymbolTable either creates a Symbol F for |
51 // "name" and returns a pointer to F or finds a pre-existing Symbol F for | 51 // "name" and returns a pointer to F or finds a pre-existing Symbol F for |
52 // "name" and returns a pointer to it. In both cases the reference count for F | 52 // "name" and returns a pointer to it. In both cases the reference count for F |
53 // is incremented under the assumption that a pointer to F will be created from | 53 // is incremented under the assumption that a pointer to F will be created from |