Wed, 09 Jul 2008 15:08:55 -0700
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
Summary: Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.
Reviewed-by: ysr, apetrusenko
1 //
2 // Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved.
3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 //
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
7 // published by the Free Software Foundation.
8 //
9 // This code is distributed in the hope that it will be useful, but WITHOUT
10 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 // version 2 for more details (a copy is included in the LICENSE file that
13 // accompanied this code).
14 //
15 // You should have received a copy of the GNU General Public License version
16 // 2 along with this work; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 //
19 // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 // CA 95054 USA or visit www.sun.com if you need additional information or
21 // have any questions.
22 //
23 //
25 // NOTE: DO NOT CHANGE THIS COPYRIGHT TO NEW STYLE - IT WILL BREAK makeDeps!
27 allocationStats.cpp allocationStats.hpp
28 allocationStats.cpp ostream.hpp
30 allocationStats.hpp allocation.hpp
31 allocationStats.hpp gcUtil.hpp
32 allocationStats.hpp globalDefinitions.hpp
34 gcAdaptivePolicyCounters.hpp adaptiveSizePolicy.hpp
35 gcAdaptivePolicyCounters.hpp gcPolicyCounters.hpp
37 gcAdaptivePolicyCounters.cpp resourceArea.hpp
38 gcAdaptivePolicyCounters.cpp gcAdaptivePolicyCounters.hpp
40 gSpaceCounters.cpp generation.hpp
41 gSpaceCounters.cpp resourceArea.hpp
42 gSpaceCounters.cpp gSpaceCounters.hpp
44 gSpaceCounters.hpp generation.hpp
45 gSpaceCounters.hpp perfData.hpp
46 gSpaceCounters.hpp generationCounters.hpp
48 immutableSpace.cpp immutableSpace.hpp
49 immutableSpace.cpp oop.inline.hpp
50 immutableSpace.cpp universe.hpp
52 isGCActiveMark.hpp parallelScavengeHeap.hpp
54 markSweep.inline.hpp psParallelCompact.hpp
56 mutableNUMASpace.cpp mutableNUMASpace.hpp
57 mutableNUMASpace.cpp oop.inline.hpp
58 mutableNUMASpace.cpp sharedHeap.hpp
59 mutableNUMASpace.cpp spaceDecorator.hpp
60 mutableNUMASpace.cpp thread_<os_family>.inline.hpp
62 mutableNUMASpace.hpp mutableSpace.hpp
63 mutableNUMASpace.hpp gcUtil.hpp
65 mutableSpace.cpp mutableSpace.hpp
66 mutableSpace.cpp oop.inline.hpp
67 mutableSpace.cpp safepoint.hpp
68 mutableSpace.cpp spaceDecorator.hpp
69 mutableSpace.cpp thread.hpp
71 spaceCounters.cpp resourceArea.hpp
72 spaceCounters.cpp spaceCounters.hpp
74 spaceCounters.hpp immutableSpace.hpp
75 spaceCounters.hpp mutableSpace.hpp
76 spaceCounters.hpp perfData.hpp
77 spaceCounters.hpp generationCounters.hpp