--- old/src/share/vm/memory/collectorPolicy.hpp 2013-06-04 17:03:26.203740704 +0200 +++ new/src/share/vm/memory/collectorPolicy.hpp 2013-06-04 17:03:26.055740700 +0200 @@ -98,6 +98,9 @@ {} public: + // compute (conservative) maximum heap alignment + static size_t compute_max_alignment(); + void set_min_alignment(size_t align) { _min_alignment = align; } size_t min_alignment() { return _min_alignment; } void set_max_alignment(size_t align) { _max_alignment = align; } @@ -234,9 +237,6 @@ // Try to allocate space by expanding the heap. virtual HeapWord* expand_heap_and_allocate(size_t size, bool is_tlab); - // compute max heap alignment - size_t compute_max_alignment(); - // Scale the base_size by NewRation according to // result = base_size / (NewRatio + 1) // and align by min_alignment()