3983N/A * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A// Sets the default values for platform dependent flags used by the runtime system. 0N/A// For sparc we do not do call backs when a thread is in the interpreter, because the 0N/A// interpreter dispatch needs at least two instructions - first to load the dispatch address 0N/A// in a register, and second to jmp. The swapping of the dispatch table may occur _after_ 0N/A// the load of the dispatch address and hence the jmp would still go to the location 0N/A// according to the prior table. So, we let the thread continue and let it block by itself. 1365N/A// The default setting 16/16 seems to work best. 1365N/A// (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.) 0N/A// Stack slots are 2X larger in LP64 than in the 32 bit VM. 3983N/A "Highest supported VIS instructions set on Sparc") \
3983N/A "Use compare and branch instruction on SPARC") \
3983N/A "Use special cpu instructions for block zeroing") \
3983N/A "Minimum size in bytes when block zeroing will be used") \
3983N/A "Use special cpu instructions for block copy") \
3983N/A "Minimum size in bytes when block copy will be used") \
3983N/A "Use SPARC-V8 Compliant instruction subset") \
3983N/A "Use Niagara-efficient instruction subset") \
3983N/A "Do not use swap instructions, but only CAS (in a loop) on SPARC")\
3983N/A "Distance to prefetch source array in arracopy") \
3983N/A "Distance to prefetch destination array in arracopy") \
3983N/A "Number of times to spin wait on a v8 atomic operation lock") \
1879N/A#
endif // CPU_SPARC_VM_GLOBALS_SPARC_HPP