Mercurial > hg > jdk9-shenandoah > hotspot
changeset 9656:266fbf43e8a2
8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
author | ehelin |
---|---|
date | Thu, 20 Aug 2015 10:27:04 +0200 |
parents | aa92602b4a73 |
children | a8c6a4d765bb |
files | src/share/vm/gc/g1/g1CollectorPolicy_ext.hpp src/share/vm/memory/universe.cpp |
diffstat | 2 files changed, 2 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectorPolicy_ext.hpp Thu Aug 20 08:42:25 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2014, 2015, 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. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - * - */ - -#ifndef SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP -#define SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP - -#include "gc/g1/g1CollectorPolicy.hpp" - -class G1CollectorPolicyExt : public G1CollectorPolicy { }; - -#endif // SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP
--- a/src/share/vm/memory/universe.cpp Thu Aug 20 08:42:25 2015 +0200 +++ b/src/share/vm/memory/universe.cpp Thu Aug 20 10:27:04 2015 +0200 @@ -77,7 +77,7 @@ #if INCLUDE_ALL_GCS #include "gc/cms/cmsCollectorPolicy.hpp" #include "gc/g1/g1CollectedHeap.inline.hpp" -#include "gc/g1/g1CollectorPolicy_ext.hpp" +#include "gc/g1/g1CollectorPolicy.hpp" #include "gc/parallel/parallelScavengeHeap.hpp" #include "gc/shared/adaptiveSizePolicy.hpp" #endif // INCLUDE_ALL_GCS @@ -707,7 +707,7 @@ if (UseParallelGC) { return Universe::create_heap_with_policy<ParallelScavengeHeap, GenerationSizer>(); } else if (UseG1GC) { - return Universe::create_heap_with_policy<G1CollectedHeap, G1CollectorPolicyExt>(); + return Universe::create_heap_with_policy<G1CollectedHeap, G1CollectorPolicy>(); } else if (UseConcMarkSweepGC) { return Universe::create_heap_with_policy<GenCollectedHeap, ConcurrentMarkSweepPolicy>(); #endif