Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp @ 3251:eda9eb483d29
6841742: par compact - remove unused/unsupported options
Summary: ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}
Reviewed-by: jwilhelm, brutisso
author | jcoomes |
---|---|
date | Thu, 07 Apr 2011 17:16:20 -0700 |
parents | f95d63e2154a |
children | 567c87d484a0 |
comparison
equal
deleted
inserted
replaced
3250:9c4f56ff88e9 | 3251:eda9eb483d29 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
174 | 174 |
175 void PSOldGen::compact() { | 175 void PSOldGen::compact() { |
176 object_mark_sweep()->compact(ZapUnusedHeapArea); | 176 object_mark_sweep()->compact(ZapUnusedHeapArea); |
177 } | 177 } |
178 | 178 |
179 void PSOldGen::move_and_update(ParCompactionManager* cm) { | |
180 PSParallelCompact::move_and_update(cm, PSParallelCompact::old_space_id); | |
181 } | |
182 | |
183 size_t PSOldGen::contiguous_available() const { | 179 size_t PSOldGen::contiguous_available() const { |
184 return object_space()->free_in_bytes() + virtual_space()->uncommitted_size(); | 180 return object_space()->free_in_bytes() + virtual_space()->uncommitted_size(); |
185 } | 181 } |
186 | 182 |
187 // Allocation. We report all successful allocations to the size policy | 183 // Allocation. We report all successful allocations to the size policy |