hotspot/src/share/vm/memory/freeBlockDictionary.hpp
changeset 13728 882756847a04
parent 13195 be27e1b6a4b9
child 14123 944e56f74fba
equal deleted inserted replaced
13727:caf5eb7dd4a7 13728:882756847a04
    46     dictionarySplayTree  = 1,
    46     dictionarySplayTree  = 1,
    47     dictionarySkipList   = 2
    47     dictionarySkipList   = 2
    48   };
    48   };
    49 
    49 
    50  private:
    50  private:
       
    51   // This field is added and can be set to point to the
       
    52   // the Mutex used to synchronize access to the
       
    53   // dictionary so that assertion checking can be done.
       
    54   // For example it is set to point to _parDictionaryAllocLock.
    51   NOT_PRODUCT(Mutex* _lock;)
    55   NOT_PRODUCT(Mutex* _lock;)
    52 
    56 
    53  public:
    57  public:
    54   virtual void       remove_chunk(Chunk* fc) = 0;
    58   virtual void       remove_chunk(Chunk* fc) = 0;
    55   virtual Chunk*     get_chunk(size_t size, Dither dither = atLeast) = 0;
    59   virtual Chunk*     get_chunk(size_t size, Dither dither = atLeast) = 0;