src/share/vm/oops/constantPool.hpp

changeset 4045
fa6e618671d7
parent 4037
da91efe96a93
child 4133
f6b0eb4e44cf
child 4142
d8ce2825b193
     1.1 --- a/src/share/vm/oops/constantPool.hpp	Wed Sep 05 10:18:37 2012 -0700
     1.2 +++ b/src/share/vm/oops/constantPool.hpp	Wed Sep 05 20:08:08 2012 -0400
     1.3 @@ -643,6 +643,11 @@
     1.4    void remove_unshareable_info();
     1.5    void restore_unshareable_info(TRAPS);
     1.6    bool resolve_class_constants(TRAPS);
     1.7 +  // The ConstantPool vtable is restored by this call when the ConstantPool is
     1.8 +  // in the shared archive.  See patch_klass_vtables() in metaspaceShared.cpp for
     1.9 +  // all the gory details.  SA, dtrace and pstack helpers distinguish metadata
    1.10 +  // by their vtable.
    1.11 +  void restore_vtable() { guarantee(is_constantPool(), "vtable restored by this call"); }
    1.12  
    1.13   private:
    1.14    enum { _no_index_sentinel = -1, _possible_index_sentinel = -2 };

mercurial