Mercurial > hg > truffle
view make/solaris/makefiles/sparc.make @ 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 | c1345e85f901 |
children | c18cbe5936b8 |
line wrap: on
line source
# # Copyright 1998-2008 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. # # Obj_Files += solaris_sparc.o ASFLAGS += $(AS_ARCHFLAG) ifeq ("${Platform_compiler}", "sparcWorks") ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 505), 1) # For 5.2 ad_sparc file is compiled with -O2 %%%% remove when adlc is fixed OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER) OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER) # CC drops core on systemDictionary.o in -xO4 mode OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER) # SC5.0 bug 4284168 OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2) # Temporarily drop the optimization level for compiling # jniHandles.cpp to O3 from O4; see bug 4309181 OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2) # CC brings an US-II to its knees compiling the vmStructs asserts under -xO4 OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2) endif # COMPILER_REV_NUMERIC < 505 else # Options for gcc OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER) OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER) OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER) OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2) OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2) OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2) endif # File-specific adjustments to the PICFLAG, applicable only to SPARC, # which has a very tight limit on global constant references. # Old files which seemed hot at one point or another: #PICFLAG/runtime.o = $(PICFLAG/BETTER) #PICFLAG/generateOopMap.o = $(PICFLAG/BETTER) #PICFLAG/thread.o = $(PICFLAG/BETTER) #PICFLAG/parse2.o = $(PICFLAG/BETTER) #PICFLAG/parse1.o = $(PICFLAG/BETTER) #PICFLAG/universe.o = $(PICFLAG/BETTER) #PICFLAG/safepoint.o = $(PICFLAG/BETTER) #PICFLAG/parse3.o = $(PICFLAG/BETTER) #PICFLAG/compile.o = $(PICFLAG/BETTER) #PICFLAG/codeBlob.o = $(PICFLAG/BETTER) #PICFLAG/mutexLocker.o = $(PICFLAG/BETTER) #PICFLAG/nativeInst_sparc.o = $(PICFLAG/BETTER) #PICFLAG/methodLiveness.o = $(PICFLAG/BETTER) #PICFLAG/synchronizer.o = $(PICFLAG/BETTER) #PICFLAG/methodOop.o = $(PICFLAG/BETTER) #PICFLAG/space.o = $(PICFLAG/BETTER) #PICFLAG/interpreterRT_sparc.o = $(PICFLAG/BETTER) #PICFLAG/generation.o = $(PICFLAG/BETTER) #PICFLAG/markSweep.o = $(PICFLAG/BETTER) #PICFLAG/parseHelper.o = $(PICFLAG/BETTER) # Confirmed by function-level profiling: PICFLAG/scavenge.o = $(PICFLAG/BETTER) PICFLAG/instanceKlass.o = $(PICFLAG/BETTER) PICFLAG/frame.o = $(PICFLAG/BETTER) PICFLAG/phaseX.o = $(PICFLAG/BETTER) PICFLAG/lookupCache.o = $(PICFLAG/BETTER) PICFLAG/chaitin.o = $(PICFLAG/BETTER) PICFLAG/type.o = $(PICFLAG/BETTER) PICFLAG/jvm.o = $(PICFLAG/BETTER) PICFLAG/jni.o = $(PICFLAG/BETTER) PICFLAG/matcher.o = $(PICFLAG/BETTER) # New from module-level profiling (trustworthy?): PICFLAG/rememberedSet.o = $(PICFLAG/BETTER) PICFLAG/frame_sparc.o = $(PICFLAG/BETTER) PICFLAG/live.o = $(PICFLAG/BETTER) PICFLAG/vectset.o = $(PICFLAG/BETTER) PICFLAG/objArrayKlass.o = $(PICFLAG/BETTER) PICFLAG/do_call.o = $(PICFLAG/BETTER) PICFLAG/loopnode.o = $(PICFLAG/BETTER) PICFLAG/cfgnode.o = $(PICFLAG/BETTER) PICFLAG/ifg.o = $(PICFLAG/BETTER) PICFLAG/vframe.o = $(PICFLAG/BETTER) PICFLAG/postaloc.o = $(PICFLAG/BETTER) PICFLAG/carRememberedSet.o = $(PICFLAG/BETTER) PICFLAG/gcm.o = $(PICFLAG/BETTER) PICFLAG/coalesce.o = $(PICFLAG/BETTER) PICFLAG/oop.o = $(PICFLAG/BETTER) PICFLAG/oopMap.o = $(PICFLAG/BETTER) PICFLAG/resourceArea.o = $(PICFLAG/BETTER) PICFLAG/node.o = $(PICFLAG/BETTER) PICFLAG/dict.o = $(PICFLAG/BETTER) PICFLAG/domgraph.o = $(PICFLAG/BETTER) PICFLAG/dfa_sparc.o = $(PICFLAG/BETTER) PICFLAG/block.o = $(PICFLAG/BETTER) PICFLAG/javaClasses.o = $(PICFLAG/BETTER) # New hot files: PICFLAG/classes.o = $(PICFLAG/BETTER) #PICFLAG/ad_sparc.o = $(PICFLAG/BETTER) PICFLAG/nmethod.o = $(PICFLAG/BETTER) PICFLAG/relocInfo.o = $(PICFLAG/BETTER) PICFLAG/codeBuffer_sparc.o = $(PICFLAG/BETTER) PICFLAG/callnode.o = $(PICFLAG/BETTER) PICFLAG/multnode.o = $(PICFLAG/BETTER) PICFLAG/os_solaris.o = $(PICFLAG/BETTER) PICFLAG/typeArrayKlass.o = $(PICFLAG/BETTER)