src/hotspot/share/memory/metaspace/spaceManager.hpp
branchstuefe-new-metaspace-branch
changeset 59257 990b1fed3b47
parent 59155 b537e6386306
equal deleted inserted replaced
59238:6ce12ce00d3e 59257:990b1fed3b47
    70   MetachunkList _chunks;
    70   MetachunkList _chunks;
    71 
    71 
    72   Metachunk* current_chunk()              { return _chunks.first(); }
    72   Metachunk* current_chunk()              { return _chunks.first(); }
    73   const Metachunk* current_chunk() const  { return _chunks.first(); }
    73   const Metachunk* current_chunk() const  { return _chunks.first(); }
    74 
    74 
    75   // Prematurely released metablocks.
    75   // These structures take care of 1) prematurely deallocated Metaspace blocks
       
    76   //  and 2) leftover space from retired chunks.
       
    77   // Only one of these is active; one will eventually go. We are still testing
       
    78   //  which implementation is better suited to the task. _lom is default. Change
       
    79   //  with -XX:+-MetaspaceUseLOM.
    76   BlockFreelist* _block_freelist;
    80   BlockFreelist* _block_freelist;
    77   LeftOverManager* _lom;
    81   LeftOverManager* _lom;
    78 
    82 
    79   // Points to outside size counter which we are to increase/decrease when we allocate memory
    83   // Points to outside size counter which we are to increase/decrease when we allocate memory
    80   // on behalf of a user or when we are destroyed.
    84   // on behalf of a user or when we are destroyed.