Mercurial > hg > graal-jvmci-8
view src/share/vm/gc_implementation/includeDB_gc_serial @ 453:c96030fff130
6684579: SoftReference processing can be made more efficient
Summary: For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not.
Reviewed-by: jmasa
author | ysr |
---|---|
date | Thu, 20 Nov 2008 16:56:09 -0800 |
parents | a61af66fc99e |
children | e018e6884bd8 |
line wrap: on
line source
// // Copyright (c) 2007 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, // CA 95054 USA or visit www.sun.com if you need additional information or // have any questions. // // adaptiveSizePolicy.hpp collectedHeap.hpp adaptiveSizePolicy.hpp gcCause.hpp adaptiveSizePolicy.hpp gcUtil.hpp adaptiveSizePolicy.hpp allocation.hpp adaptiveSizePolicy.hpp universe.hpp adaptiveSizePolicy.cpp adaptiveSizePolicy.hpp adaptiveSizePolicy.cpp gcCause.hpp adaptiveSizePolicy.cpp ostream.hpp adaptiveSizePolicy.cpp timer.hpp ageTable.cpp ageTable.hpp ageTable.cpp collectorPolicy.hpp ageTable.cpp copy.hpp ageTable.cpp gcPolicyCounters.hpp ageTable.cpp resourceArea.hpp ageTable.cpp sharedHeap.hpp ageTable.hpp markOop.hpp ageTable.hpp oop.hpp ageTable.hpp perfData.hpp collectorCounters.cpp collectorCounters.hpp collectorCounters.cpp resourceArea.hpp collectorCounters.hpp perfData.hpp cSpaceCounters.cpp resourceArea.hpp cSpaceCounters.cpp cSpaceCounters.hpp cSpaceCounters.hpp space.inline.hpp cSpaceCounters.hpp perfData.hpp cSpaceCounters.hpp generationCounters.hpp gcPolicyCounters.cpp resourceArea.hpp gcPolicyCounters.cpp gcPolicyCounters.hpp gcPolicyCounters.hpp perfData.hpp gcStats.cpp gcStats.hpp gcStats.cpp gcUtil.hpp gcStats.hpp gcUtil.hpp gcUtil.cpp gcUtil.hpp gcUtil.hpp allocation.hpp gcUtil.hpp debug.hpp gcUtil.hpp globalDefinitions.hpp gcUtil.hpp timer.hpp generationCounters.cpp generationCounters.hpp generationCounters.cpp resourceArea.hpp generationCounters.hpp perfData.hpp generationCounters.hpp virtualspace.hpp immutableSpace.hpp iterator.hpp liveRange.hpp copy.hpp liveRange.hpp memRegion.hpp markSweep.cpp collectedHeap.inline.hpp markSweep.cpp markSweep.inline.hpp markSweep.cpp oop.inline.hpp markSweep.hpp growableArray.hpp markSweep.hpp markOop.hpp markSweep.hpp oop.hpp markSweep.hpp timer.hpp markSweep.hpp universe.hpp markSweep.inline.hpp collectedHeap.hpp markSweep.inline.hpp markSweep.hpp mutableSpace.hpp immutableSpace.hpp mutableSpace.hpp memRegion.hpp mutableSpace.hpp copy.hpp vmGCOperations.cpp vmGCOperations.hpp vmGCOperations.cpp dtrace.hpp vmGCOperations.cpp classLoader.hpp vmGCOperations.cpp gcLocker.inline.hpp vmGCOperations.cpp genCollectedHeap.hpp vmGCOperations.cpp handles.inline.hpp vmGCOperations.cpp init.hpp vmGCOperations.cpp instanceKlass.hpp vmGCOperations.cpp instanceRefKlass.hpp vmGCOperations.cpp interfaceSupport.hpp vmGCOperations.cpp javaClasses.hpp vmGCOperations.cpp jvmtiExport.hpp vmGCOperations.cpp oopFactory.hpp vmGCOperations.cpp preserveException.hpp vmGCOperations.hpp vm_operations.hpp vmGCOperations.hpp heapInspection.hpp vmGCOperations.hpp handles.hpp vmGCOperations.hpp jniHandles.hpp vmGCOperations.hpp synchronizer.hpp