src/share/vm/oops/instanceKlass.hpp

changeset 4965
6337ca4dcad8
parent 4719
c8b31b461e1a
child 4981
d587a5c30bd8
     1.1 --- a/src/share/vm/oops/instanceKlass.hpp	Fri Apr 19 16:51:27 2013 -0700
     1.2 +++ b/src/share/vm/oops/instanceKlass.hpp	Sat Apr 20 04:07:08 2013 -0700
     1.3 @@ -90,6 +90,7 @@
     1.4  class nmethodBucket;
     1.5  class PreviousVersionNode;
     1.6  class JvmtiCachedClassFieldMap;
     1.7 +class MemberNameTable;
     1.8  
     1.9  // This is used in iterators below.
    1.10  class FieldClosure: public StackObj {
    1.11 @@ -246,6 +247,7 @@
    1.12    int             _vtable_len;           // length of Java vtable (in words)
    1.13    int             _itable_len;           // length of Java itable (in words)
    1.14    OopMapCache*    volatile _oop_map_cache;   // OopMapCache for all methods in the klass (allocated lazily)
    1.15 +  MemberNameTable* _member_names;        // Member names
    1.16    JNIid*          _jni_ids;              // First JNI identifier for static fields in this class
    1.17    jmethodID*      _methods_jmethod_ids;  // jmethodIDs corresponding to method_idnum, or NULL if none
    1.18    int*            _methods_cached_itable_indices;  // itable_index cache for JNI invoke corresponding to methods idnum, or NULL
    1.19 @@ -1028,6 +1030,11 @@
    1.20    // jvm support
    1.21    jint compute_modifier_flags(TRAPS) const;
    1.22  
    1.23 +  // JSR-292 support
    1.24 +  MemberNameTable* member_names() { return _member_names; }
    1.25 +  void set_member_names(MemberNameTable* member_names) { _member_names = member_names; }
    1.26 +  void add_member_name(Handle member_name);
    1.27 +
    1.28  public:
    1.29    // JVMTI support
    1.30    jint jvmti_class_status() const;

mercurial