Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psPermGen.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 | c9ca3f51cf41 |
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. |
119 heap->total_collections(), | 119 heap->total_collections(), |
120 size_before, _virtual_space->committed_size()); | 120 size_before, _virtual_space->committed_size()); |
121 } | 121 } |
122 } | 122 } |
123 | 123 |
124 | |
125 | |
126 void PSPermGen::move_and_update(ParCompactionManager* cm) { | |
127 PSParallelCompact::move_and_update(cm, PSParallelCompact::perm_space_id); | |
128 } | |
129 | |
130 void PSPermGen::precompact() { | 124 void PSPermGen::precompact() { |
131 // Reset start array first. | 125 // Reset start array first. |
132 _start_array.reset(); | 126 _start_array.reset(); |
133 object_mark_sweep()->precompact(); | 127 object_mark_sweep()->precompact(); |
134 } | 128 } |