make/excludeSrc.make

Print this page
rev 4561 : 7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
Summary: Refactor G1's hot card cache and card counts table into their own files. Simplify the card counts table, including removing the encoding of the card index in each entry. The card counts table now has a 1:1 correspondence with the cards spanned by heap. Space for the card counts table is reserved from virtual memory (rather than C heap) during JVM startup and is committed/expanded when the heap is expanded. Changes were also reviewed-by Vitaly Davidovich.
Reviewed-by:
   1 #
   2 # Copyright (c) 2012, Oracle and/or its affiliates. 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #  


  64 ifeq ($(INCLUDE_MANAGEMENT), false)
  65       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  66       CFLAGS += -DINCLUDE_MANAGEMENT=0
  67 endif
  68 
  69 ifeq ($(INCLUDE_CDS), false)
  70       CXXFLAGS += -DINCLUDE_CDS=0
  71       CFLAGS += -DINCLUDE_CDS=0
  72 
  73       Src_Files_EXCLUDE += filemap.cpp metaspaceShared.cpp
  74 endif
  75 
  76 ifeq ($(INCLUDE_ALL_GCS), false)
  77       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  78       CFLAGS += -DINCLUDE_ALL_GCS=0
  79 
  80       Src_Files_EXCLUDE += \
  81         cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \
  82         cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp \
  83         concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \
  84         freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp \
  85         concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp \
  86         dirtyCardQueue.cpp g1AllocRegion.cpp g1BlockOffsetTable.cpp g1CollectedHeap.cpp g1GCPhaseTimes.cpp \
  87         g1CollectorPolicy.cpp g1ErgoVerbose.cpp g1_globals.cpp g1HRPrinter.cpp g1MarkSweep.cpp \
  88         g1MMUTracker.cpp g1MonitoringSupport.cpp g1RemSet.cpp g1SATBCardTableModRefBS.cpp heapRegion.cpp \
  89         heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp ptrQueue.cpp \
  90         satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp adjoiningGenerations.cpp \
  91         adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp cardTableExtension.cpp \
  92         gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp \
  93         pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp \
  94         psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp \
  95         psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \
  96         psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp \
  97         parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp \
  98         spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp \
  99         immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldingWorkGroup.cpp g1Log.cpp



 100 endif 
 101 
 102 ifeq ($(INCLUDE_NMT), false)
 103       CXXFLAGS += -DINCLUDE_NMT=0
 104       CFLAGS += -DINCLUDE_NMT=0
 105 
 106       Src_Files_EXCLUDE += \
 107          memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \
 108          memTracker.cpp nmtDCmd.cpp
 109 endif
   1 #
   2 # Copyright (c) 2013, Oracle and/or its affiliates. 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #  


  64 ifeq ($(INCLUDE_MANAGEMENT), false)
  65       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  66       CFLAGS += -DINCLUDE_MANAGEMENT=0
  67 endif
  68 
  69 ifeq ($(INCLUDE_CDS), false)
  70       CXXFLAGS += -DINCLUDE_CDS=0
  71       CFLAGS += -DINCLUDE_CDS=0
  72 
  73       Src_Files_EXCLUDE += filemap.cpp metaspaceShared.cpp
  74 endif
  75 
  76 ifeq ($(INCLUDE_ALL_GCS), false)
  77       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  78       CFLAGS += -DINCLUDE_ALL_GCS=0
  79 
  80       Src_Files_EXCLUDE += \
  81         cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \
  82         cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp \
  83         concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \
  84         freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp \
  85         collectionSetChooser.cpp concurrentG1Refine.cpp concurrentG1RefineThread.cpp \
  86         concurrentMark.cpp concurrentMarkThread.cpp dirtyCardQueue.cpp g1AllocRegion.cpp \
  87         g1BlockOffsetTable.cpp g1CardCounts.cpp g1CollectedHeap.cpp g1CollectorPolicy.cpp \
  88         g1ErgoVerbose.cpp g1GCPhaseTimes.cpp g1HRPrinter.cpp g1HotCardCache.cpp g1Log.cpp \
  89         g1MMUTracker.cpp g1MarkSweep.cpp g1MemoryPool.cpp g1MonitoringSupport.cpp \
  90         g1RemSet.cpp g1SATBCardTableModRefBS.cpp g1_globals.cpp heapRegion.cpp \
  91         heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp \
  92         ptrQueue.cpp satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp \
  93         adjoiningGenerations.cpp adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp \
  94         cardTableExtension.cpp gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp \
  95         parallelScavengeHeap.cpp parMarkBitMap.cpp pcTasks.cpp psAdaptiveSizePolicy.cpp \
  96         psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp psGenerationCounters.cpp \
  97         psMarkSweep.cpp psMarkSweepDecorator.cpp psMemoryPool.cpp psOldGen.cpp \
  98         psParallelCompact.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp \
  99         psTasks.cpp psVirtualspace.cpp psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp \
 100         parCardTableModRefBS.cpp parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp \
 101         gSpaceCounters.cpp allocationStats.cpp spaceCounters.cpp gcAdaptivePolicyCounters.cpp \
 102         mutableNUMASpace.cpp immutableSpace.cpp yieldingWorkGroup.cpp
 103 endif 
 104 
 105 ifeq ($(INCLUDE_NMT), false)
 106       CXXFLAGS += -DINCLUDE_NMT=0
 107       CFLAGS += -DINCLUDE_NMT=0
 108 
 109       Src_Files_EXCLUDE += \
 110          memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \
 111          memTracker.cpp nmtDCmd.cpp
 112 endif