make/excludeSrc.make

Print this page
rev 3986 : 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.
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 #  


  65       CFLAGS += -DINCLUDE_MANAGEMENT=0
  66 endif
  67 
  68 ifeq ($(INCLUDE_CDS), false)
  69       CXXFLAGS += -DINCLUDE_CDS=0
  70       CFLAGS += -DINCLUDE_CDS=0
  71 
  72       Src_Files_EXCLUDE += metaspaceShared.cpp
  73 endif
  74 
  75 ifeq ($(INCLUDE_ALTERNATE_GCS), false)
  76       CXXFLAGS += -DINCLUDE_ALTERNATE_GCS=0
  77       CFLAGS += -DINCLUDE_ALTERNATE_GCS=0
  78 
  79       CXXFLAGS += -DSERIALGC
  80       CFLAGS += -DSERIALGC
  81       Src_Files_EXCLUDE += \
  82         cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \
  83         cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp cmsPermGen.cpp compactibleFreeListSpace.cpp \
  84         concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \
  85         freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp \
  86         concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp \
  87         dirtyCardQueue.cpp g1AllocRegion.cpp g1BlockOffsetTable.cpp g1CollectedHeap.cpp g1GCPhaseTimes.cpp \
  88         g1CollectorPolicy.cpp g1ErgoVerbose.cpp g1_globals.cpp g1HRPrinter.cpp g1MarkSweep.cpp \
  89         g1MMUTracker.cpp g1MonitoringSupport.cpp g1RemSet.cpp g1SATBCardTableModRefBS.cpp heapRegion.cpp \
  90         heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp ptrQueue.cpp \
  91         satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp adjoiningGenerations.cpp \
  92         adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp cardTableExtension.cpp \

  93         gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp \
  94         pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp \
  95         psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp \
  96         psPermGen.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \
  97         psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp \
  98         parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp \
  99         spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp \
 100         immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldWorkingGroup.cpp g1Log.cpp
 101 endif 
 102 
 103 ifeq ($(INCLUDE_NMT), false)
 104       CXXFLAGS += -DINCLUDE_NMT=0
 105       CFLAGS += -DINCLUDE_NMT=0
 106 
 107       Src_Files_EXCLUDE += \
 108          memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \
 109          memTracker.cpp nmtDCmd.cpp
 110 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 #  


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