Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/psYoungGen.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 | b632e80fc9dc |
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. |
790 from_mark_sweep()->compact(ZapUnusedHeapArea); | 790 from_mark_sweep()->compact(ZapUnusedHeapArea); |
791 // Mark sweep stores preserved markOops in to space, don't disturb! | 791 // Mark sweep stores preserved markOops in to space, don't disturb! |
792 to_mark_sweep()->compact(false); | 792 to_mark_sweep()->compact(false); |
793 } | 793 } |
794 | 794 |
795 void PSYoungGen::move_and_update(ParCompactionManager* cm) { | |
796 PSParallelCompact::move_and_update(cm, PSParallelCompact::eden_space_id); | |
797 PSParallelCompact::move_and_update(cm, PSParallelCompact::from_space_id); | |
798 PSParallelCompact::move_and_update(cm, PSParallelCompact::to_space_id); | |
799 } | |
800 | |
801 void PSYoungGen::print() const { print_on(tty); } | 795 void PSYoungGen::print() const { print_on(tty); } |
802 void PSYoungGen::print_on(outputStream* st) const { | 796 void PSYoungGen::print_on(outputStream* st) const { |
803 st->print(" %-15s", "PSYoungGen"); | 797 st->print(" %-15s", "PSYoungGen"); |
804 if (PrintGCDetails && Verbose) { | 798 if (PrintGCDetails && Verbose) { |
805 st->print(" total " SIZE_FORMAT ", used " SIZE_FORMAT, | 799 st->print(" total " SIZE_FORMAT ", used " SIZE_FORMAT, |