src/share/vm/gc_implementation/g1/g1RegionToSpaceMapper.hpp

changeset 7835
e5406a79ae90
parent 7781
33e421924c67
     1.1 --- a/src/share/vm/gc_implementation/g1/g1RegionToSpaceMapper.hpp	Fri May 01 17:38:12 2015 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1RegionToSpaceMapper.hpp	Tue May 19 15:49:27 2015 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -57,6 +57,9 @@
    1.11   public:
    1.12    MemRegion reserved() { return _storage.reserved(); }
    1.13  
    1.14 +  size_t reserved_size() { return _storage.reserved_size(); }
    1.15 +  size_t committed_size() { return _storage.committed_size(); }
    1.16 +
    1.17    void set_mapping_changed_listener(G1MappingChangedListener* listener) { _listener = listener; }
    1.18  
    1.19    virtual ~G1RegionToSpaceMapper() {

mercurial