make/sa.files

Thu, 20 Nov 2008 12:27:41 -0800

author
ysr
date
Thu, 20 Nov 2008 12:27:41 -0800
changeset 887
00b023ae2d78
parent 746
25c3145237c6
child 1907
c18cbe5936b8
permissions
-rw-r--r--

6722113: CMS: Incorrect overflow handling during precleaning of Reference lists
Summary: When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery.
Reviewed-by: apetrusenko, jcoomes

     1 #
     2 # Copyright 2003-2008 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 # This filelist macro is included in platform specific sa.make
    26 # included all packages/*.java. package list can be generated by
    27 # $(GAMMADIR)/agent/make/build-pkglist. Then manually removed all 
    28 # classes in sun.jvm.hotspot.ui (and subpackages),  all ui classes 
    29 # in sun.jvm.hotspot.bugspot/hotspot and SPARC and x86 disassembler 
    30 # classes and sun.jvm.hotspot.utilities.soql.
    32 # define AGENT_DIR before including this file in sa.make
    34 AGENT_SRC_DIR = $(AGENT_DIR)/src/share/classes
    36 # Splitted the set of files into two sets because on linux plaform
    37 # listing or compiling all the files results in 'Argument list too long' error.
    39 AGENT_FILES1 = \
    40 $(AGENT_SRC_DIR)/sun/jvm/hotspot/*.java \
    41 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/*.java \
    42 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/*.java \
    43 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/*.java \
    44 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/*.java \
    45 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/*.java \
    46 $(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/*.java \
    47 $(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/tree/*.java \
    48 $(AGENT_SRC_DIR)/sun/jvm/hotspot/c1/*.java \
    49 $(AGENT_SRC_DIR)/sun/jvm/hotspot/code/*.java \
    50 $(AGENT_SRC_DIR)/sun/jvm/hotspot/compiler/*.java \
    51 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/*.java \
    52 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \
    53 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/*.java \
    54 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/*.java \
    55 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
    56 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \
    57 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/*.java \
    58 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/sparc/*.java \
    59 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/x86/*.java \
    60 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dummy/*.java \
    61 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/ia64/*.java \
    62 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/*.java \
    63 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/amd64/*.java \
    64 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/ia64/*.java \
    65 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/x86/*.java \
    66 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/sparc/*.java \
    67 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/posix/*.java \
    68 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/posix/elf/*.java \
    69 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/*.java \
    70 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/amd64/*.java \
    71 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/sparc/*.java \
    72 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/x86/*.java \
    73 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/*.java \
    74 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/amd64/*.java \
    75 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/sparc/*.java \
    76 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/x86/*.java \
    77 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/sparc/*.java \
    78 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/win32/*.java \
    79 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/win32/coff/*.java \
    80 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/*.java \
    81 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/amd64/*.java \
    82 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/ia64/*.java \
    83 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/x86/*.java \
    84 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/x86/*.java \
    85 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
    86 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/shared/*.java \
    87 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_interface/*.java \
    88 $(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \
    89 $(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \
    90 $(AGENT_SRC_DIR)/sun/jvm/hotspot/livejvm/*.java \
    91 $(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \
    92 $(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java 
    95 AGENT_FILES2 = \
    96 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/*.java \
    97 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/amd64/*.java \
    98 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/ia64/*.java \
    99 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux/*.java \
   100 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_amd64/*.java \
   101 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_ia64/*.java \
   102 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_x86/*.java \
   103 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_sparc/*.java \
   104 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/posix/*.java \
   105 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_amd64/*.java \
   106 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_sparc/*.java \
   107 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_x86/*.java \
   108 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/sparc/*.java \
   109 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/win32_amd64/*.java \
   110 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/win32_ia64/*.java \
   111 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/win32_x86/*.java \
   112 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/x86/*.java \
   113 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/*.java \
   114 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/jcore/*.java \
   115 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/soql/*.java \
   116 $(AGENT_SRC_DIR)/sun/jvm/hotspot/types/*.java \
   117 $(AGENT_SRC_DIR)/sun/jvm/hotspot/types/basic/*.java \
   118 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/*.java \
   119 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/memo/*.java \
   120 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/*.java \
   121 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/*.java \
   122 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/action/*.java \
   123 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/classbrowser/*.java \
   124 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/table/*.java \
   125 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/tree/*.java \
   126 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/treetable/*.java \
   127 $(AGENT_SRC_DIR)/com/sun/java/swing/action/*.java \
   128 $(AGENT_SRC_DIR)/com/sun/java/swing/ui/*.java

mercurial