< prev index next >
src/hotspot/share/gc/parallel/psMarkSweep.cpp
Print this page
rev 53341 : 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
Summary: Move check_gc_overhead_limit() and related code to its own class
Reviewed-by:
*** 1,7 ****
/*
! * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 314,325 ****
cur_eden,
max_old_gen_size,
max_eden_size,
true /* full gc*/);
! size_policy->check_gc_overhead_limit(young_live,
! eden_live,
max_old_gen_size,
max_eden_size,
true /* full gc*/,
gc_cause,
heap->soft_ref_policy());
--- 314,324 ----
cur_eden,
max_old_gen_size,
max_eden_size,
true /* full gc*/);
! size_policy->check_gc_overhead_limit(eden_live,
max_old_gen_size,
max_eden_size,
true /* full gc*/,
gc_cause,
heap->soft_ref_policy());
< prev index next >