src/hotspot/share/services/memoryPool.hpp
changeset 58177 4932dce35882
parent 53244 9807daeb47c4
equal deleted inserted replaced
58176:470af058bd5f 58177:4932dce35882
    93   size_t      initial_size()   const       { return _initial_size; }
    93   size_t      initial_size()   const       { return _initial_size; }
    94   int         num_memory_managers() const  { return _num_managers; }
    94   int         num_memory_managers() const  { return _num_managers; }
    95   // max size could be changed
    95   // max size could be changed
    96   virtual size_t max_size()    const       { return _max_size; }
    96   virtual size_t max_size()    const       { return _max_size; }
    97 
    97 
    98   bool is_pool(instanceHandle pool) { return oopDesc::equals(pool(), _memory_pool_obj); }
    98   bool is_pool(instanceHandle pool) { return pool() == _memory_pool_obj; }
    99 
    99 
   100   bool available_for_allocation()   { return _available_for_allocation; }
   100   bool available_for_allocation()   { return _available_for_allocation; }
   101   bool set_available_for_allocation(bool value) {
   101   bool set_available_for_allocation(bool value) {
   102     bool prev = _available_for_allocation;
   102     bool prev = _available_for_allocation;
   103     _available_for_allocation = value;
   103     _available_for_allocation = value;