src/share/vm/memory/collectorPolicy.hpp

changeset 5701
40136aa2cdb1
parent 4557
1135141fb97e
child 5855
9b4d0569f2f4
     1.1 --- a/src/share/vm/memory/collectorPolicy.hpp	Wed Sep 11 12:03:41 2013 +0200
     1.2 +++ b/src/share/vm/memory/collectorPolicy.hpp	Wed Sep 11 16:25:02 2013 +0200
     1.3 @@ -98,6 +98,9 @@
     1.4    {}
     1.5  
     1.6   public:
     1.7 +  // Return maximum heap alignment that may be imposed by the policy
     1.8 +  static size_t compute_max_alignment();
     1.9 +
    1.10    void set_min_alignment(size_t align)         { _min_alignment = align; }
    1.11    size_t min_alignment()                       { return _min_alignment; }
    1.12    void set_max_alignment(size_t align)         { _max_alignment = align; }
    1.13 @@ -234,9 +237,6 @@
    1.14    // Try to allocate space by expanding the heap.
    1.15    virtual HeapWord* expand_heap_and_allocate(size_t size, bool is_tlab);
    1.16  
    1.17 -  // compute max heap alignment
    1.18 -  size_t compute_max_alignment();
    1.19 -
    1.20   // Scale the base_size by NewRation according to
    1.21   //     result = base_size / (NewRatio + 1)
    1.22   // and align by min_alignment()

mercurial