size_t max_size() const { // Return current committed size of the from-space return _gen->from_space()->capacity_in_bytes(); }
size_t used_in_bytes() { return _gen->from_space()->used_in_bytes(); }
size_t committed_in_bytes() { return _gen->from_space()->capacity_in_bytes(); }
size_t max_size() const { // Eden's max_size = max_size of Young Gen - the current committed size of survivor spaces return _gen->max_size() - _gen->from_space()->capacity_in_bytes() - _gen->to_space()->capacity_in_bytes(); }