12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_GC_PARALLEL_PSADAPTIVESIZEPOLICY_HPP
26 #define SHARE_VM_GC_PARALLEL_PSADAPTIVESIZEPOLICY_HPP
27
28 #include "gc/shared/adaptiveSizePolicy.hpp"
29 #include "gc/shared/gcCause.hpp"
30 #include "gc/shared/gcStats.hpp"
31 #include "gc/shared/gcUtil.hpp"
32
33 // This class keeps statistical information and computes the
34 // optimal free space for both the young and old generation
35 // based on current application characteristics (based on gc cost
36 // and application footprint).
37 //
38 // It also computes an optimal tenuring threshold between the young
39 // and old generations, so as to equalize the cost of collections
40 // of those generations, as well as optimal survivor space sizes
41 // for the young generation.
42 //
43 // While this class is specifically intended for a generational system
44 // consisting of a young gen (containing an Eden and two semi-spaces)
45 // and a tenured gen, as well as a perm gen for reflective data, it
46 // makes NO references to specific generations.
47 //
48 // 05/02/2003 Update
49 // The 1.5 policy makes use of data gathered for the costs of GC on
50 // specific generations. That data does reference specific
51 // generation. Also diagnostics specific to generations have
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_GC_PARALLEL_PSADAPTIVESIZEPOLICY_HPP
26 #define SHARE_VM_GC_PARALLEL_PSADAPTIVESIZEPOLICY_HPP
27
28 #include "gc/shared/adaptiveSizePolicy.hpp"
29 #include "gc/shared/gcCause.hpp"
30 #include "gc/shared/gcStats.hpp"
31 #include "gc/shared/gcUtil.hpp"
32 #include "utilities/align.hpp"
33
34 // This class keeps statistical information and computes the
35 // optimal free space for both the young and old generation
36 // based on current application characteristics (based on gc cost
37 // and application footprint).
38 //
39 // It also computes an optimal tenuring threshold between the young
40 // and old generations, so as to equalize the cost of collections
41 // of those generations, as well as optimal survivor space sizes
42 // for the young generation.
43 //
44 // While this class is specifically intended for a generational system
45 // consisting of a young gen (containing an Eden and two semi-spaces)
46 // and a tenured gen, as well as a perm gen for reflective data, it
47 // makes NO references to specific generations.
48 //
49 // 05/02/2003 Update
50 // The 1.5 policy makes use of data gathered for the costs of GC on
51 // specific generations. That data does reference specific
52 // generation. Also diagnostics specific to generations have
|