src/share/vm/oops/instanceKlass.hpp

changeset 3900
d2a62e0f25eb
parent 3803
71afdabfd05b
child 3906
04ade88d9712
     1.1 --- a/src/share/vm/oops/instanceKlass.hpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/oops/instanceKlass.hpp	Thu Jun 28 17:03:16 2012 -0400
     1.3 @@ -1008,7 +1008,7 @@
     1.4  
     1.5  
     1.6  /* JNIid class for jfieldIDs only */
     1.7 -class JNIid: public CHeapObj {
     1.8 +class JNIid: public CHeapObj<mtClass> {
     1.9    friend class VMStructs;
    1.10   private:
    1.11    klassOop           _holder;
    1.12 @@ -1059,7 +1059,7 @@
    1.13  // reference must be used because a weak reference would be seen as
    1.14  // collectible. A GrowableArray of PreviousVersionNodes is attached
    1.15  // to the instanceKlass as needed. See PreviousVersionWalker below.
    1.16 -class PreviousVersionNode : public CHeapObj {
    1.17 +class PreviousVersionNode : public CHeapObj<mtClass> {
    1.18   private:
    1.19    // A shared ConstantPool is never collected so we'll always have
    1.20    // a reference to it so we can update items in the cache. We'll
    1.21 @@ -1154,7 +1154,7 @@
    1.22  // noticed since an nmethod should be removed as many times are it's
    1.23  // added.
    1.24  //
    1.25 -class nmethodBucket: public CHeapObj {
    1.26 +class nmethodBucket: public CHeapObj<mtClass> {
    1.27    friend class VMStructs;
    1.28   private:
    1.29    nmethod*       _nmethod;

mercurial