Changeset 278 for trunk/openjdk/hotspot/src/os_cpu
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 104 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/assembler_linux_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/atomic_linux_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/globals_linux_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/linux_sparc.ad
r2 r278 1 1 // 2 // Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/linux_sparc.s
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 # have anyquestions.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 22 # 23 23 -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/orderAccess_linux_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 37 37 38 38 inline void OrderAccess::release() { 39 jint* dummy = (jint*)&dummy;40 __asm__ volatile("stw %%g0, [%0]" : : "r" ( dummy) : "memory");39 jint* local_dummy = (jint*)&local_dummy; 40 __asm__ volatile("stw %%g0, [%0]" : : "r" (local_dummy) : "memory"); 41 41 } 42 42 -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 154 154 vm_exit_out_of_memory(0, "pthread_getattr_np"); 155 155 } else { 156 fatal 1("pthread_getattr_np failed with errno = %d", rslt);156 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt)); 157 157 } 158 158 } -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/prefetch_linux_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/threadLS_linux_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/threadLS_linux_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/thread_linux_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 106 106 return false; 107 107 } 108 109 void JavaThread::cache_global_variables() { } 110 -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/thread_linux_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/vmStructs_linux_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/assembler_linux_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/atomic_linux_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/bytes_linux_x86.inline.hpp
r49 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/copy_linux_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 27 27 (void)memmove(to, from, count * HeapWordSize); 28 28 #else 29 // Same as pd_aligned_conjoint_words, except includes a zero-count check.29 // Includes a zero-count check. 30 30 intx temp; 31 31 __asm__ volatile(" testl %6,%6 ;" … … 85 85 } 86 86 #else 87 // Same as pd_aligned_disjoint_words, except includes a zero-count check.87 // Includes a zero-count check. 88 88 intx temp; 89 89 __asm__ volatile(" testl %6,%6 ;" … … 131 131 132 132 static void pd_aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count) { 133 #ifdef AMD64 134 (void)memmove(to, from, count * HeapWordSize); 135 #else 136 // Same as pd_conjoint_words, except no zero-count check. 137 intx temp; 138 __asm__ volatile(" cmpl %4,%5 ;" 139 " leal -4(%4,%6,4),%3;" 140 " jbe 1f ;" 141 " cmpl %7,%5 ;" 142 " jbe 4f ;" 143 "1: cmpl $32,%6 ;" 144 " ja 3f ;" 145 " subl %4,%1 ;" 146 "2: movl (%4),%3 ;" 147 " movl %7,(%5,%4,1) ;" 148 " addl $4,%0 ;" 149 " subl $1,%2 ;" 150 " jnz 2b ;" 151 " jmp 7f ;" 152 "3: rep; smovl ;" 153 " jmp 7f ;" 154 "4: cmpl $32,%2 ;" 155 " movl %7,%0 ;" 156 " leal -4(%5,%6,4),%1;" 157 " ja 6f ;" 158 " subl %4,%1 ;" 159 "5: movl (%4),%3 ;" 160 " movl %7,(%5,%4,1) ;" 161 " subl $4,%0 ;" 162 " subl $1,%2 ;" 163 " jnz 5b ;" 164 " jmp 7f ;" 165 "6: std ;" 166 " rep; smovl ;" 167 " cld ;" 168 "7: nop " 169 : "=S" (from), "=D" (to), "=c" (count), "=r" (temp) 170 : "0" (from), "1" (to), "2" (count), "3" (temp) 171 : "memory", "flags"); 172 #endif // AMD64 133 pd_conjoint_words(from, to, count); 173 134 } 174 135 175 136 static void pd_aligned_disjoint_words(HeapWord* from, HeapWord* to, size_t count) { 176 #ifdef AMD64177 137 pd_disjoint_words(from, to, count); 178 #else179 // Same as pd_disjoint_words, except no zero-count check.180 intx temp;181 __asm__ volatile(" cmpl $32,%6 ;"182 " ja 2f ;"183 " subl %4,%1 ;"184 "1: movl (%4),%3 ;"185 " movl %7,(%5,%4,1);"186 " addl $4,%0 ;"187 " subl $1,%2 ;"188 " jnz 1b ;"189 " jmp 3f ;"190 "2: rep; smovl ;"191 "3: nop "192 : "=S" (from), "=D" (to), "=c" (count), "=r" (temp)193 : "0" (from), "1" (to), "2" (count), "3" (temp)194 : "memory", "cc");195 #endif // AMD64196 138 } 197 139 … … 200 142 (void)memmove(to, from, count); 201 143 #else 144 // Includes a zero-count check. 202 145 intx temp; 203 146 __asm__ volatile(" testl %6,%6 ;" -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/globals_linux_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 31 31 define_pd_global(intx, VMThreadStackSize, 1024); 32 32 #else 33 // ThreadStackSize 320 allows TaggedStackInterpreter and a couple of test cases34 // to run while keeping the number of threads that can be created high.35 // Systemdefault ThreadStackSize appears to be 512 which is too big.33 // ThreadStackSize 320 allows a couple of test cases to run while 34 // keeping the number of threads that can be created high. System 35 // default ThreadStackSize appears to be 512 which is too big. 36 36 define_pd_global(intx, ThreadStackSize, 320); 37 37 define_pd_global(intx, VMThreadStackSize, 512); -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.ad
r2 r278 1 1 // 2 // Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s
r2 r278 1 1 # 2 # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 # have anyquestions.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 22 # 23 23 … … 122 122 addl %esi,%edi 123 123 4: movl %eax,%ecx # byte count less prefix 124 124 5: andl $3,%ecx # suffix byte count 125 125 jz 7f # no suffix 126 126 # copy suffix 127 5:xorl %eax,%eax127 xorl %eax,%eax 128 128 6: movb (%esi,%eax,1),%dl 129 129 movb %dl,(%edi,%eax,1) … … 160 160 3: rep; smovl 161 161 4: movl %eax,%ecx # byte count 162 162 5: andl $3,%ecx # suffix byte count 163 163 jz 7f # no suffix 164 164 # copy suffix 165 5:subl %esi,%edi165 subl %esi,%edi 166 166 addl $3,%esi 167 167 6: movb (%esi),%dl … … 215 215 3: rep; smovl 216 216 4: movl %eax,%ecx 217 217 5: andl $3,%ecx 218 218 jz 7f 219 219 # copy suffix 220 5:xorl %eax,%eax220 xorl %eax,%eax 221 221 6: movb (%esi,%eax,1),%dl 222 222 movb %dl,(%edi,%eax,1) … … 251 251 addl %esi,%edi 252 252 4: movl %eax,%ecx 253 253 5: andl $3,%ecx 254 254 jz 7f 255 5:subl %esi,%edi255 subl %esi,%edi 256 256 addl $3,%esi 257 257 6: movb (%esi),%dl … … 288 288 jz 1f # no prefix 289 289 # copy prefix 290 subl $1,%ecx 291 jl 5f # zero count 290 292 movw (%esi),%dx 291 293 movw %dx,(%edi) 292 294 addl %eax,%esi # %eax == 2 293 295 addl %eax,%edi 294 subl $1,%ecx295 296 1: movl %ecx,%eax # word count less prefix 296 297 sarl %ecx # dword count … … 455 456 .=.+10 456 457 2: subl %esi,%edi 458 jmp 4f 457 459 .p2align 4,,15 458 460 3: movl (%esi),%edx 459 461 movl %edx,(%edi,%esi,1) 460 462 addl $4,%esi 461 462 j nz3b463 4: subl $1,%ecx 464 jge 3b 463 465 popl %edi 464 466 popl %esi … … 468 470 leal -4(%edi,%ecx,4),%edi # to + count*4 - 4 469 471 cmpl $32,%ecx 470 ja 3f # > 32 dwords472 ja 4f # > 32 dwords 471 473 subl %eax,%edi # eax == from + count*4 - 4 474 jmp 3f 472 475 .p2align 4,,15 473 476 2: movl (%eax),%edx 474 477 movl %edx,(%edi,%eax,1) 475 478 subl $4,%eax 476 477 j nz2b479 3: subl $1,%ecx 480 jge 2b 478 481 cld 479 482 popl %edi 480 483 popl %esi 481 484 ret 482 3: movl %eax,%esi # from + count*4 - 4485 4: movl %eax,%esi # from + count*4 - 4 483 486 rep; smovl 484 487 cld -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_64.ad
r2 r278 1 1 // 2 // Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_64.s
r2 r278 1 1 # 2 # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 # have anyquestions.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 22 # 23 23 -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 31 31 32 32 inline void OrderAccess::acquire() { 33 volatile intptr_t dummy;34 #ifdef AMD64 35 __asm__ volatile ("movq 0(%%rsp), %0" : "=r" ( dummy) : : "memory");36 #else 37 __asm__ volatile ("movl 0(%%esp),%0" : "=r" ( dummy) : : "memory");33 volatile intptr_t local_dummy; 34 #ifdef AMD64 35 __asm__ volatile ("movq 0(%%rsp), %0" : "=r" (local_dummy) : : "memory"); 36 #else 37 __asm__ volatile ("movl 0(%%esp),%0" : "=r" (local_dummy) : : "memory"); 38 38 #endif // AMD64 39 39 } 40 40 41 41 inline void OrderAccess::release() { 42 dummy = 0; 42 // Avoid hitting the same cache-line from 43 // different threads. 44 volatile jint local_dummy = 0; 43 45 } 44 46 -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 681 681 vm_exit_out_of_memory(0, "pthread_getattr_np"); 682 682 } else { 683 fatal 1("pthread_getattr_np failed with errno = %d", rslt);683 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt)); 684 684 } 685 685 } … … 719 719 ucontext_t *uc = (ucontext_t*)context; 720 720 st->print_cr("Registers:"); 721 722 // this is horrendously verbose but the layout of the registers in the 723 // context does not match how we defined our abstract Register set, so 724 // we can't just iterate through the gregs area 725 721 726 #ifdef AMD64 722 727 st->print( "RAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RAX]); … … 746 751 st->cr(); 747 752 st->print(" TRAPNO=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_TRAPNO]); 753 754 st->cr(); 755 st->cr(); 756 757 st->print_cr("Register to memory mapping:"); 758 st->cr(); 759 760 // this is only for the "general purpose" registers 761 762 st->print_cr("RAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RAX]); 763 print_location(st, uc->uc_mcontext.gregs[REG_RAX]); 764 st->cr(); 765 st->print_cr("RBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBX]); 766 print_location(st, uc->uc_mcontext.gregs[REG_RBX]); 767 st->cr(); 768 st->print_cr("RCX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RCX]); 769 print_location(st, uc->uc_mcontext.gregs[REG_RCX]); 770 st->cr(); 771 st->print_cr("RDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDX]); 772 print_location(st, uc->uc_mcontext.gregs[REG_RDX]); 773 st->cr(); 774 st->print_cr("RSP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSP]); 775 print_location(st, uc->uc_mcontext.gregs[REG_RSP]); 776 st->cr(); 777 st->print_cr("RBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBP]); 778 print_location(st, uc->uc_mcontext.gregs[REG_RBP]); 779 st->cr(); 780 st->print_cr("RSI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSI]); 781 print_location(st, uc->uc_mcontext.gregs[REG_RSI]); 782 st->cr(); 783 st->print_cr("RDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDI]); 784 print_location(st, uc->uc_mcontext.gregs[REG_RDI]); 785 st->cr(); 786 st->print_cr("R8 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R8]); 787 print_location(st, uc->uc_mcontext.gregs[REG_R8]); 788 st->cr(); 789 st->print_cr("R9 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R9]); 790 print_location(st, uc->uc_mcontext.gregs[REG_R9]); 791 st->cr(); 792 st->print_cr("R10=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R10]); 793 print_location(st, uc->uc_mcontext.gregs[REG_R10]); 794 st->cr(); 795 st->print_cr("R11=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R11]); 796 print_location(st, uc->uc_mcontext.gregs[REG_R11]); 797 st->cr(); 798 st->print_cr("R12=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R12]); 799 print_location(st, uc->uc_mcontext.gregs[REG_R12]); 800 st->cr(); 801 st->print_cr("R13=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R13]); 802 print_location(st, uc->uc_mcontext.gregs[REG_R13]); 803 st->cr(); 804 st->print_cr("R14=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R14]); 805 print_location(st, uc->uc_mcontext.gregs[REG_R14]); 806 st->cr(); 807 st->print_cr("R15=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R15]); 808 print_location(st, uc->uc_mcontext.gregs[REG_R15]); 809 748 810 #else 749 811 st->print( "EAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EAX]); … … 760 822 st->print(", CR2=" INTPTR_FORMAT, uc->uc_mcontext.cr2); 761 823 st->print(", EFLAGS=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EFL]); 824 825 st->cr(); 826 st->cr(); 827 828 st->print_cr("Register to memory mapping:"); 829 st->cr(); 830 831 // this is only for the "general purpose" registers 832 833 st->print_cr("EAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EAX]); 834 print_location(st, uc->uc_mcontext.gregs[REG_EAX]); 835 st->cr(); 836 st->print_cr("EBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EBX]); 837 print_location(st, uc->uc_mcontext.gregs[REG_EBX]); 838 st->cr(); 839 st->print_cr("ECX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ECX]); 840 print_location(st, uc->uc_mcontext.gregs[REG_ECX]); 841 st->cr(); 842 st->print_cr("EDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EDX]); 843 print_location(st, uc->uc_mcontext.gregs[REG_EDX]); 844 st->cr(); 845 st->print_cr("ESP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ESP]); 846 print_location(st, uc->uc_mcontext.gregs[REG_ESP]); 847 st->cr(); 848 st->print_cr("EBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EBP]); 849 print_location(st, uc->uc_mcontext.gregs[REG_EBP]); 850 st->cr(); 851 st->print_cr("ESI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ESI]); 852 print_location(st, uc->uc_mcontext.gregs[REG_ESI]); 853 st->cr(); 854 st->print_cr("EDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EDI]); 855 print_location(st, uc->uc_mcontext.gregs[REG_EDI]); 856 762 857 #endif // AMD64 763 858 st->cr(); -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/prefetch_linux_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/threadLS_linux_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/threadLS_linux_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/thread_linux_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 80 80 return false; 81 81 } 82 83 void JavaThread::cache_global_variables() { } 84 -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/thread_linux_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/vmStructs_linux_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_x86/vm/vm_version_linux_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/assembler_linux_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/bytes_linux_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/globals_linux_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 30 30 31 31 define_pd_global(bool, DontYieldALot, false); 32 define_pd_global(intx, ThreadStackSize, 1536); 32 33 #ifdef _LP64 33 define_pd_global(intx, ThreadStackSize, 1536);34 34 define_pd_global(intx, VMThreadStackSize, 1024); 35 35 #else 36 define_pd_global(intx, ThreadStackSize, 1024);37 36 define_pd_global(intx, VMThreadStackSize, 512); 38 37 #endif // _LP64 -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/orderAccess_linux_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 240 240 241 241 bool os::is_allocatable(size_t bytes) { 242 ShouldNotCallThis(); 242 #ifdef _LP64 243 return true; 244 #else 245 if (bytes < 2 * G) { 246 return true; 247 } 248 249 char* addr = reserve_memory(bytes, NULL); 250 251 if (addr != NULL) { 252 release_memory(addr, bytes); 253 } 254 255 return addr != NULL; 256 #endif // _LP64 243 257 } 244 258 … … 275 289 } 276 290 else { 277 fatal 1("pthread_getattr_np failed with errno = %d", res);291 fatal(err_msg("pthread_getattr_np failed with errno = %d", res)); 278 292 } 279 293 } … … 283 297 res = pthread_attr_getstack(&attr, (void **) &stack_bottom, &stack_bytes); 284 298 if (res != 0) { 285 fatal 1("pthread_attr_getstack failed with errno = %d", res);299 fatal(err_msg("pthread_attr_getstack failed with errno = %d", res)); 286 300 } 287 301 address stack_top = stack_bottom + stack_bytes; … … 295 309 res = pthread_attr_getguardsize(&attr, &guard_bytes); 296 310 if (res != 0) { 297 fatal 1("pthread_attr_getguardsize failed with errno = %d", res);311 fatal(err_msg("pthread_attr_getguardsize failed with errno = %d", res)); 298 312 } 299 313 int guard_pages = align_size_up(guard_bytes, page_bytes) / page_bytes; … … 422 436 HeapWord* to, 423 437 size_t count) { 424 ShouldNotCallThis();438 memmove(to, from, count); 425 439 } 426 440 void _Copy_arrayof_conjoint_jshorts(HeapWord* from, 427 441 HeapWord* to, 428 442 size_t count) { 429 ShouldNotCallThis();443 memmove(to, from, count * 2); 430 444 } 431 445 void _Copy_arrayof_conjoint_jints(HeapWord* from, 432 446 HeapWord* to, 433 447 size_t count) { 434 ShouldNotCallThis();448 memmove(to, from, count * 4); 435 449 } 436 450 void _Copy_arrayof_conjoint_jlongs(HeapWord* from, 437 451 HeapWord* to, 438 452 size_t count) { 439 ShouldNotCallThis();453 memmove(to, from, count * 8); 440 454 } 441 455 }; -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 40 40 : "=f"(tmp) 41 41 : "b"(src), "b"(dst)); 42 #elif defined(S390) && !defined(_LP64) 43 double tmp; 44 asm volatile ("ld %0, 0(%1)\n" 45 "std %0, 0(%2)\n" 46 : "=r"(tmp) 47 : "a"(src), "a"(dst)); 42 48 #else 43 49 *(jlong *) dst = *(jlong *) src; 44 #endif // PPC && !_LP6450 #endif 45 51 } -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/prefetch_linux_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/threadLS_linux_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/threadLS_linux_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2009 Red Hat, Inc.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ 25 25 26 // This file is intentionally empty 26 #include "incls/_precompiled.incl" 27 #include "incls/_thread_linux_zero.cpp.incl" 28 29 void JavaThread::cache_global_variables() { 30 // nothing to do 31 } -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 69 69 public: 70 70 void set_last_Java_frame() { 71 JavaFrameAnchor *jfa = frame_anchor(); 72 jfa->set_last_Java_sp((intptr_t *) top_zero_frame()); 71 set_last_Java_frame(top_zero_frame(), zero_stack()->sp()); 73 72 } 74 73 void reset_last_Java_frame() { 75 JavaFrameAnchor *jfa = frame_anchor(); 76 jfa->set_last_Java_sp(NULL); 74 frame_anchor()->zap(); 75 } 76 void set_last_Java_frame(ZeroFrame* fp, intptr_t* sp) { 77 frame_anchor()->set(sp, NULL, fp); 78 } 79 80 public: 81 ZeroFrame* last_Java_fp() { 82 return frame_anchor()->last_Java_fp(); 77 83 } 78 84 … … 80 86 frame pd_last_frame() { 81 87 assert(has_last_Java_frame(), "must have last_Java_sp() when suspended"); 82 return frame(last_Java_sp(), zero_stack()->sp()); 88 return frame(last_Java_fp(), last_Java_sp()); 89 } 90 91 public: 92 static ByteSize last_Java_fp_offset() { 93 return byte_offset_of(JavaThread, _anchor) + 94 JavaFrameAnchor::last_Java_fp_offset(); 83 95 } 84 96 -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/vmStructs_linux_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/linux_zero/vm/vm_version_linux_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/assembler_solaris_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/atomic_solaris_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/globals_solaris_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/orderAccess_solaris_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 43 43 44 44 inline void OrderAccess::release() { 45 jint* dummy = (jint*)&dummy;46 __asm__ volatile("stw %%g0, [%0]" : : "r" ( dummy) : "memory");45 jint* local_dummy = (jint*)&local_dummy; 46 __asm__ volatile("stw %%g0, [%0]" : : "r" (local_dummy) : "memory"); 47 47 } 48 48 … … 58 58 59 59 inline void OrderAccess::release() { 60 dummy = 0; 60 // Avoid hitting the same cache-line from 61 // different threads. 62 volatile jint local_dummy = 0; 61 63 } 62 64 -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 588 588 uc->uc_mcontext.gregs[REG_PC], 589 589 uc->uc_mcontext.gregs[REG_nPC]); 590 591 st->cr(); 592 st->cr(); 593 594 st->print_cr("Register to memory mapping:"); 595 st->cr(); 596 597 // this is only for the "general purpose" registers 598 599 st->print_cr("O0=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O0]); 600 print_location(st, uc->uc_mcontext.gregs[REG_O0]); 601 st->cr(); 602 st->print_cr("O1=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O1]); 603 print_location(st, uc->uc_mcontext.gregs[REG_O1]); 604 st->cr(); 605 st->print_cr("O2=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O2]); 606 print_location(st, uc->uc_mcontext.gregs[REG_O2]); 607 st->cr(); 608 st->print_cr("O3=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O3]); 609 print_location(st, uc->uc_mcontext.gregs[REG_O3]); 610 st->cr(); 611 st->print_cr("O4=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O4]); 612 print_location(st, uc->uc_mcontext.gregs[REG_O4]); 613 st->cr(); 614 st->print_cr("O5=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O5]); 615 print_location(st, uc->uc_mcontext.gregs[REG_O5]); 616 st->cr(); 617 st->print_cr("O6=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O6]); 618 print_location(st, uc->uc_mcontext.gregs[REG_O6]); 619 st->cr(); 620 st->print_cr("O7=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O7]); 621 print_location(st, uc->uc_mcontext.gregs[REG_O7]); 622 st->cr(); 623 624 st->print_cr("G1=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G1]); 625 print_location(st, uc->uc_mcontext.gregs[REG_G1]); 626 st->cr(); 627 st->print_cr("G2=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G2]); 628 print_location(st, uc->uc_mcontext.gregs[REG_G2]); 629 st->cr(); 630 st->print_cr("G3=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G3]); 631 print_location(st, uc->uc_mcontext.gregs[REG_G3]); 632 st->cr(); 633 st->print_cr("G4=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G4]); 634 print_location(st, uc->uc_mcontext.gregs[REG_G4]); 635 st->cr(); 636 st->print_cr("G5=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G5]); 637 print_location(st, uc->uc_mcontext.gregs[REG_G5]); 638 st->cr(); 639 st->print_cr("G6=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G6]); 640 print_location(st, uc->uc_mcontext.gregs[REG_G6]); 641 st->cr(); 642 st->print_cr("G7=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G7]); 643 print_location(st, uc->uc_mcontext.gregs[REG_G7]); 644 590 645 st->cr(); 591 646 st->cr(); -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/prefetch_solaris_sparc.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.ad
r2 r278 1 1 // 2 // Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.il
r2 r278 1 1 // 2 // Copyright 2002-2005 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.s
r2 r278 1 1 !! 2 !! Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 !! Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 !! DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 !! … … 17 17 !! Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 !! have anyquestions.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 22 !! 23 23 -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/threadLS_solaris_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/threadLS_solaris_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/thread_solaris_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 141 141 return true; 142 142 } 143 144 void JavaThread::cache_global_variables() { } 145 -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/thread_solaris_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/vmStructs_solaris_sparc.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
r2 r278 1 1 /* 2 * Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/assembler_solaris_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/atomic_solaris_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 48 48 // For gcc - implementation is just below. 49 49 50 extern "C" jint _Atomic_add(jint add_value, volatile jint* dest, int mp); 51 extern "C" jint _Atomic_xchg(jint exchange_value, volatile jint* dest); 52 extern "C" jint _Atomic_cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value, int mp); 53 extern "C" jlong _Atomic_cmpxchg_long(jlong exchange_value, volatile jlong* dest, jlong compare_value, int mp); 50 // The lock prefix can be omitted for certain instructions on uniprocessors; to 51 // facilitate this, os::is_MP() is passed as an additional argument. 64-bit 52 // processors are assumed to be multi-threaded and/or multi-core, so the extra 53 // argument is unnecessary. 54 #ifndef _LP64 55 #define IS_MP_DECL() , int is_mp 56 #define IS_MP_ARG() , (int) os::is_MP() 57 #else 58 #define IS_MP_DECL() 59 #define IS_MP_ARG() 60 #endif // _LP64 61 62 extern "C" { 63 jint _Atomic_add(jint add_value, volatile jint* dest IS_MP_DECL()); 64 jint _Atomic_xchg(jint exchange_value, volatile jint* dest); 65 jint _Atomic_cmpxchg(jint exchange_value, volatile jint* dest, 66 jint compare_value IS_MP_DECL()); 67 jlong _Atomic_cmpxchg_long(jlong exchange_value, volatile jlong* dest, 68 jlong compare_value IS_MP_DECL()); 69 } 54 70 55 71 inline jint Atomic::add (jint add_value, volatile jint* dest) { 56 return _Atomic_add(add_value, dest, (int) os::is_MP()); 72 return _Atomic_add(add_value, dest IS_MP_ARG()); 73 } 74 75 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) { 76 return _Atomic_xchg(exchange_value, dest); 57 77 } 58 78 59 79 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { 60 return _Atomic_cmpxchg(exchange_value, dest, compare_value , (int) os::is_MP());80 return _Atomic_cmpxchg(exchange_value, dest, compare_value IS_MP_ARG()); 61 81 } 62 82 63 83 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { 64 return _Atomic_cmpxchg_long(exchange_value, dest, compare_value , (int) os::is_MP());84 return _Atomic_cmpxchg_long(exchange_value, dest, compare_value IS_MP_ARG()); 65 85 } 66 86 … … 69 89 inline void Atomic::store (jlong store_value, jlong* dest) { *dest = store_value; } 70 90 inline void Atomic::store (jlong store_value, volatile jlong* dest) { *dest = store_value; } 71 extern "C" jlong _Atomic_add_long(jlong add_value, volatile jlong* dest , int mp);91 extern "C" jlong _Atomic_add_long(jlong add_value, volatile jlong* dest); 72 92 extern "C" jlong _Atomic_xchg_long(jlong exchange_value, volatile jlong* dest); 73 93 74 94 inline intptr_t Atomic::add_ptr(intptr_t add_value, volatile intptr_t* dest) { 75 return (intptr_t)_Atomic_add_long((jlong)add_value, (volatile jlong*)dest , (int) os::is_MP());95 return (intptr_t)_Atomic_add_long((jlong)add_value, (volatile jlong*)dest); 76 96 } 77 97 78 98 inline void* Atomic::add_ptr(intptr_t add_value, volatile void* dest) { 79 return (void*)_Atomic_add_long((jlong)add_value, (volatile jlong*)dest, (int) os::is_MP()); 80 } 81 82 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) { 83 return _Atomic_xchg(exchange_value, dest); 99 return (void*)_Atomic_add_long((jlong)add_value, (volatile jlong*)dest); 84 100 } 85 101 … … 93 109 94 110 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { 95 return (intptr_t)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value , (int) os::is_MP());111 return (intptr_t)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 96 112 } 97 113 98 114 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { 99 return (void*)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value , (int) os::is_MP());115 return (void*)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 100 116 } 101 117 … … 110 126 inline void* Atomic::add_ptr(intptr_t add_value, volatile void* dest) { 111 127 return (void*)add((jint)add_value, (volatile jint*)dest); 112 }113 114 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) {115 // We noticed a CC5.5 bug (4894807), so keep calling the stub just to be safe.116 // Will use the inline template version after 4894807 is fixed.117 // return _Atomic_xchg(exchange_value, dest);118 return (*os::atomic_xchg_func)(exchange_value, dest);119 128 } 120 129 … … 180 189 181 190 inline jint _Atomic_xchg(jint exchange_value, volatile jint* dest) { 182 183 // 32bit version originally did nothing!!184 185 191 __asm__ __volatile__ ("xchgl (%2),%0" 186 192 : "=r" (exchange_value) -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/bytes_solaris_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/copy_solaris_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 32 32 define_pd_global(uintx,JVMInvokeMethodSlack, 8*K); 33 33 #else 34 // ThreadStackSize 320 allows TaggedStackInterpreter and a couple of test cases35 // to run whilekeeping the number of threads that can be created high.34 // ThreadStackSize 320 allows a couple of test cases to run while 35 // keeping the number of threads that can be created high. 36 36 define_pd_global(intx, ThreadStackSize, 320); 37 37 define_pd_global(intx, VMThreadStackSize, 512); -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/orderAccess_solaris_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 41 41 42 42 inline void OrderAccess::release() { 43 dummy = 0; 43 // Avoid hitting the same cache-line from 44 // different threads. 45 volatile jint local_dummy = 0; 44 46 } 45 47 … … 54 56 extern "C" { 55 57 inline void _OrderAccess_acquire() { 56 volatile intptr_t dummy;58 volatile intptr_t local_dummy; 57 59 #ifdef AMD64 58 __asm__ volatile ("movq 0(%%rsp), %0" : "=r" ( dummy) : : "memory");60 __asm__ volatile ("movq 0(%%rsp), %0" : "=r" (local_dummy) : : "memory"); 59 61 #else 60 __asm__ volatile ("movl 0(%%esp),%0" : "=r" ( dummy) : : "memory");62 __asm__ volatile ("movl 0(%%esp),%0" : "=r" (local_dummy) : : "memory"); 61 63 #endif // AMD64 62 64 } -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 720 720 ucontext_t *uc = (ucontext_t*)context; 721 721 st->print_cr("Registers:"); 722 723 // this is horrendously verbose but the layout of the registers in the 724 // context does not match how we defined our abstract Register set, so 725 // we can't just iterate through the gregs area 726 722 727 #ifdef AMD64 723 728 st->print( "RAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RAX]); … … 731 736 st->print(", RDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDI]); 732 737 st->cr(); 733 st->print( ",R8=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R8]);738 st->print( "R8=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R8]); 734 739 st->print(", R9=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R9]); 735 740 st->print(", R10=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R10]); 736 741 st->print(", R11=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R11]); 737 st->print(", R12=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R12]); 742 st->cr(); 743 st->print( "R12=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R12]); 738 744 st->print(", R13=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R13]); 739 745 st->print(", R14=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R14]); … … 742 748 st->print( "RIP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RIP]); 743 749 st->print(", RFLAGS=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RFL]); 750 751 st->cr(); 752 st->cr(); 753 754 st->print_cr("Register to memory mapping:"); 755 st->cr(); 756 757 // this is only for the "general purpose" registers 758 759 st->print_cr("RAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RAX]); 760 print_location(st, uc->uc_mcontext.gregs[REG_RAX]); 761 st->cr(); 762 st->print_cr("RBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBX]); 763 print_location(st, uc->uc_mcontext.gregs[REG_RBX]); 764 st->cr(); 765 st->print_cr("RCX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RCX]); 766 print_location(st, uc->uc_mcontext.gregs[REG_RCX]); 767 st->cr(); 768 st->print_cr("RDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDX]); 769 print_location(st, uc->uc_mcontext.gregs[REG_RDX]); 770 st->cr(); 771 st->print_cr("RSP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSP]); 772 print_location(st, uc->uc_mcontext.gregs[REG_RSP]); 773 st->cr(); 774 st->print_cr("RBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBP]); 775 print_location(st, uc->uc_mcontext.gregs[REG_RSP]); 776 st->cr(); 777 st->print_cr("RSI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSI]); 778 print_location(st, uc->uc_mcontext.gregs[REG_RSI]); 779 st->cr(); 780 st->print_cr("RDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDI]); 781 print_location(st, uc->uc_mcontext.gregs[REG_RDI]); 782 st->cr(); 783 st->print_cr("R8 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R8]); 784 print_location(st, uc->uc_mcontext.gregs[REG_R8]); 785 st->cr(); 786 st->print_cr("R9 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R9]); 787 print_location(st, uc->uc_mcontext.gregs[REG_R9]); 788 st->cr(); 789 st->print_cr("R10=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R10]); 790 print_location(st, uc->uc_mcontext.gregs[REG_R10]); 791 st->cr(); 792 st->print_cr("R11=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R11]); 793 print_location(st, uc->uc_mcontext.gregs[REG_R11]); 794 st->cr(); 795 st->print_cr("R12=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R12]); 796 print_location(st, uc->uc_mcontext.gregs[REG_R12]); 797 st->cr(); 798 st->print_cr("R13=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R13]); 799 print_location(st, uc->uc_mcontext.gregs[REG_R13]); 800 st->cr(); 801 st->print_cr("R14=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R14]); 802 print_location(st, uc->uc_mcontext.gregs[REG_R14]); 803 st->cr(); 804 st->print_cr("R15=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R15]); 805 print_location(st, uc->uc_mcontext.gregs[REG_R15]); 806 744 807 #else 745 808 st->print( "EAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EAX]); … … 755 818 st->print( "EIP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EIP]); 756 819 st->print(", EFLAGS=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EFL]); 820 821 st->cr(); 822 st->cr(); 823 824 st->print_cr("Register to memory mapping:"); 825 st->cr(); 826 827 // this is only for the "general purpose" registers 828 829 st->print_cr("EAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EAX]); 830 print_location(st, uc->uc_mcontext.gregs[EAX]); 831 st->cr(); 832 st->print_cr("EBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EBX]); 833 print_location(st, uc->uc_mcontext.gregs[EBX]); 834 st->cr(); 835 st->print_cr("ECX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[ECX]); 836 print_location(st, uc->uc_mcontext.gregs[ECX]); 837 st->cr(); 838 st->print_cr("EDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EDX]); 839 print_location(st, uc->uc_mcontext.gregs[EDX]); 840 st->cr(); 841 st->print_cr("ESP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[UESP]); 842 print_location(st, uc->uc_mcontext.gregs[UESP]); 843 st->cr(); 844 st->print_cr("EBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EBP]); 845 print_location(st, uc->uc_mcontext.gregs[EBP]); 846 st->cr(); 847 st->print_cr("ESI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[ESI]); 848 print_location(st, uc->uc_mcontext.gregs[ESI]); 849 st->cr(); 850 st->print_cr("EDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[EDI]); 851 print_location(st, uc->uc_mcontext.gregs[EDI]); 852 757 853 #endif // AMD64 758 854 st->cr(); … … 773 869 } 774 870 871 775 872 #ifdef AMD64 776 873 void os::Solaris::init_thread_fpu_state(void) { … … 861 958 add_func_t* os::atomic_add_func = os::atomic_add_bootstrap; 862 959 863 extern "C" _solaris_raw_setup_fpu(address ptr);960 extern "C" void _solaris_raw_setup_fpu(address ptr); 864 961 void os::setup_fpu() { 865 962 address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std(); -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/os_solaris_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/prefetch_solaris_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.ad
r2 r278 1 1 // 2 // Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.il
r2 r278 1 1 // 2 // Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // … … 51 51 movl %eax, %ecx 52 52 cmpl $0, 8(%esp) // MP test 53 je 1f 54 lock 55 1: xaddl %eax, (%edx) 56 addl %ecx, %eax 53 jne 1f 54 xaddl %eax, (%edx) 55 jmp 2f 56 1: lock 57 xaddl %eax, (%edx) 58 2: addl %ecx, %eax 57 59 .end 58 60 … … 73 75 movl 4(%esp), %edx // dest 74 76 cmp $0, 12(%esp) // MP test 75 je 1f 76 lock 77 1: cmpxchgl %ecx, (%edx) 77 jne 1f 78 cmpxchgl %ecx, (%edx) 79 jmp 2f 80 1: lock 81 cmpxchgl %ecx, (%edx) 82 2: 78 83 .end 79 84 … … 91 96 movl 12(%esp), %ecx // exchange_high (high) 92 97 cmp $0, 28(%esp) // MP test 93 je 1f 94 lock 95 1: cmpxchg8b (%edi) 96 popl %edi 98 jne 1f 99 cmpxchg8b (%edi) 100 jmp 2f 101 1: lock 102 cmpxchg8b (%edi) 103 2: popl %edi 97 104 popl %ebx 98 105 .end -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.s
r2 r278 1 1 // 2 // Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 … … 155 155 addl %esi,%edi 156 156 4: movl %eax,%ecx / byte count less prefix 157 157 5: andl $3,%ecx / suffix byte count 158 158 jz 7f / no suffix 159 159 / copy suffix 160 5:xorl %eax,%eax160 xorl %eax,%eax 161 161 6: movb (%esi,%eax,1),%dl 162 162 movb %dl,(%edi,%eax,1) … … 193 193 3: rep; smovl 194 194 4: movl %eax,%ecx / byte count 195 195 5: andl $3,%ecx / suffix byte count 196 196 jz 7f / no suffix 197 197 / copy suffix 198 5:subl %esi,%edi198 subl %esi,%edi 199 199 addl $3,%esi 200 200 6: movb (%esi),%dl … … 247 247 3: rep; smovl 248 248 4: movl %eax,%ecx 249 249 5: andl $3,%ecx 250 250 jz 7f 251 251 / copy suffix 252 5:xorl %eax,%eax252 xorl %eax,%eax 253 253 6: movb (%esi,%eax,1),%dl 254 254 movb %dl,(%edi,%eax,1) … … 283 283 addl %esi,%edi 284 284 4: movl %eax,%ecx 285 285 5: andl $3,%ecx 286 286 jz 7f 287 5:subl %esi,%edi287 subl %esi,%edi 288 288 addl $3,%esi 289 289 6: movb (%esi),%dl … … 319 319 jz 1f / no prefix 320 320 / copy prefix 321 subl $1,%ecx 322 jl 5f / zero count 321 323 movw (%esi),%dx 322 324 movw %dx,(%edi) 323 325 addl %eax,%esi / %eax == 2 324 326 addl %eax,%edi 325 subl $1,%ecx326 327 1: movl %ecx,%eax / word count less prefix 327 328 sarl %ecx / dword count … … 483 484 .=.+10 484 485 2: subl %esi,%edi 486 jmp 4f 485 487 .align 16 486 488 3: movl (%esi),%edx 487 489 movl %edx,(%edi,%esi,1) 488 490 addl $4,%esi 489 490 j nz3b491 4: subl $1,%ecx 492 jge 3b 491 493 popl %edi 492 494 popl %esi … … 496 498 leal -4(%edi,%ecx,4),%edi / to + count*4 - 4 497 499 cmpl $32,%ecx 498 ja 3f / > 32 dwords500 ja 4f / > 32 dwords 499 501 subl %eax,%edi / eax == from + count*4 - 4 502 jmp 3f 500 503 .align 16 501 504 2: movl (%eax),%edx 502 505 movl %edx,(%edi,%eax,1) 503 506 subl $4,%eax 504 505 j nz2b507 3: subl $1,%ecx 508 jge 2b 506 509 cld 507 510 popl %edi 508 511 popl %esi 509 512 ret 510 3: movl %eax,%esi / from + count*4 - 4513 4: movl %eax,%esi / from + count*4 - 4 511 514 rep; smovl 512 515 cld -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.ad
r2 r278 1 1 // 2 // Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il
r2 r278 1 1 // 2 // Copyright 2004-2009 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // … … 38 38 39 39 // Support for jint Atomic::add(jint add_value, volatile jint* dest) 40 // An additional bool (os::is_MP()) is passed as the last argument. 41 .inline _Atomic_add,3 40 .inline _Atomic_add,2 42 41 movl %edi, %eax // save add_value for return 43 testl %edx, %edx // MP test44 je 1f45 42 lock 46 1:xaddl %edi, (%rsi)43 xaddl %edi, (%rsi) 47 44 addl %edi, %eax 48 45 .end 49 46 50 47 // Support for jlong Atomic::add(jlong add_value, volatile jlong* dest) 51 // An additional bool (os::is_MP()) is passed as the last argument. 52 .inline _Atomic_add_long,3 48 .inline _Atomic_add_long,2 53 49 movq %rdi, %rax // save add_value for return 54 testq %rdx, %rdx // MP test55 je 1f56 50 lock 57 1:xaddq %rdi, (%rsi)51 xaddq %rdi, (%rsi) 58 52 addq %rdi, %rax 59 53 .end … … 74 68 // volatile jint *dest, 75 69 // jint compare_value) 76 // An additional bool (os::is_MP()) is passed as the last argument. 77 .inline _Atomic_cmpxchg,4 70 .inline _Atomic_cmpxchg,3 78 71 movl %edx, %eax // compare_value 79 testl %ecx, %ecx // MP test80 je 1f81 72 lock 82 1:cmpxchgl %edi, (%rsi)73 cmpxchgl %edi, (%rsi) 83 74 .end 84 75 … … 86 77 // volatile jlong* dest, 87 78 // jlong compare_value) 88 // An additional bool (os::is_MP()) is passed as the last argument. 89 .inline _Atomic_cmpxchg_long,6 79 .inline _Atomic_cmpxchg_long,3 90 80 movq %rdx, %rax // compare_value 91 testq %rcx, %rcx // MP test92 je 1f93 81 lock 94 1:cmpxchgq %rdi, (%rsi)82 cmpxchgq %rdi, (%rsi) 95 83 .end 96 84 -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.s
r2 r278 1 1 / 2 / Copyright 2004-2005 Sun Microsystems, Inc. All Rights Reserved.2 / Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 / DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 / … … 17 17 / Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 / have anyquestions.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 22 / 23 23 -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/thread_solaris_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 83 83 84 84 } 85 86 void JavaThread::cache_global_variables() { } 87 -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/thread_solaris_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/vmStructs_solaris_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/solaris_x86/vm/vm_version_solaris_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/assembler_windows_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/atomic_windows_x86.inline.hpp
r48 r278 1 1 /* 2 * Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/bytes_windows_x86.inline.hpp
r48 r278 1 1 /* 2 * Copyright 1998 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/copy_windows_x86.inline.hpp
r48 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/globals_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/orderAccess_windows_x86.inline.hpp
r48 r278 1 1 /* 2 * Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 48 48 inline void OrderAccess::release() { 49 49 // A volatile store has release semantics. 50 dummy = 0;50 volatile jint local_dummy = 0; 51 51 } 52 52 -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/os_windows_x86.cpp
r58 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 396 396 st->print_cr("Registers:"); 397 397 #ifdef AMD64 398 st->print( "EAX=" INTPTR_FORMAT, uc->Rax); 399 st->print(", EBX=" INTPTR_FORMAT, uc->Rbx); 400 st->print(", ECX=" INTPTR_FORMAT, uc->Rcx); 401 st->print(", EDX=" INTPTR_FORMAT, uc->Rdx); 402 st->cr(); 403 st->print( "ESP=" INTPTR_FORMAT, uc->Rsp); 404 st->print(", EBP=" INTPTR_FORMAT, uc->Rbp); 405 st->print(", ESI=" INTPTR_FORMAT, uc->Rsi); 406 st->print(", EDI=" INTPTR_FORMAT, uc->Rdi); 407 st->cr(); 408 st->print( "EIP=" INTPTR_FORMAT, uc->Rip); 398 st->print( "RAX=" INTPTR_FORMAT, uc->Rax); 399 st->print(", RBX=" INTPTR_FORMAT, uc->Rbx); 400 st->print(", RCX=" INTPTR_FORMAT, uc->Rcx); 401 st->print(", RDX=" INTPTR_FORMAT, uc->Rdx); 402 st->cr(); 403 st->print( "RSP=" INTPTR_FORMAT, uc->Rsp); 404 st->print(", RBP=" INTPTR_FORMAT, uc->Rbp); 405 st->print(", RSI=" INTPTR_FORMAT, uc->Rsi); 406 st->print(", RDI=" INTPTR_FORMAT, uc->Rdi); 407 st->cr(); 408 st->print( "R8=" INTPTR_FORMAT, uc->R8); 409 st->print(", R9=" INTPTR_FORMAT, uc->R9); 410 st->print(", R10=" INTPTR_FORMAT, uc->R10); 411 st->print(", R11=" INTPTR_FORMAT, uc->R11); 412 st->cr(); 413 st->print( "R12=" INTPTR_FORMAT, uc->R12); 414 st->print(", R13=" INTPTR_FORMAT, uc->R13); 415 st->print(", R14=" INTPTR_FORMAT, uc->R14); 416 st->print(", R15=" INTPTR_FORMAT, uc->R15); 417 st->cr(); 418 st->print( "RIP=" INTPTR_FORMAT, uc->Rip); 409 419 st->print(", EFLAGS=" INTPTR_FORMAT, uc->EFlags); 420 421 st->cr(); 422 st->cr(); 423 424 st->print_cr("Register to memory mapping:"); 425 st->cr(); 426 427 // this is only for the "general purpose" registers 428 429 st->print_cr("RAX=" INTPTR_FORMAT, uc->Rax); 430 print_location(st, uc->Rax); 431 st->cr(); 432 st->print_cr("RBX=" INTPTR_FORMAT, uc->Rbx); 433 print_location(st, uc->Rbx); 434 st->cr(); 435 st->print_cr("RCX=" INTPTR_FORMAT, uc->Rcx); 436 print_location(st, uc->Rcx); 437 st->cr(); 438 st->print_cr("RDX=" INTPTR_FORMAT, uc->Rdx); 439 print_location(st, uc->Rdx); 440 st->cr(); 441 st->print_cr("RSP=" INTPTR_FORMAT, uc->Rsp); 442 print_location(st, uc->Rsp); 443 st->cr(); 444 st->print_cr("RBP=" INTPTR_FORMAT, uc->Rbp); 445 print_location(st, uc->Rbp); 446 st->cr(); 447 st->print_cr("RSI=" INTPTR_FORMAT, uc->Rsi); 448 print_location(st, uc->Rsi); 449 st->cr(); 450 st->print_cr("RDI=" INTPTR_FORMAT, uc->Rdi); 451 print_location(st, uc->Rdi); 452 st->cr(); 453 st->print_cr("R8 =" INTPTR_FORMAT, uc->R8); 454 print_location(st, uc->R8); 455 st->cr(); 456 st->print_cr("R9 =" INTPTR_FORMAT, uc->R9); 457 print_location(st, uc->R9); 458 st->cr(); 459 st->print_cr("R10=" INTPTR_FORMAT, uc->R10); 460 print_location(st, uc->R10); 461 st->cr(); 462 st->print_cr("R11=" INTPTR_FORMAT, uc->R11); 463 print_location(st, uc->R11); 464 st->cr(); 465 st->print_cr("R12=" INTPTR_FORMAT, uc->R12); 466 print_location(st, uc->R12); 467 st->cr(); 468 st->print_cr("R13=" INTPTR_FORMAT, uc->R13); 469 print_location(st, uc->R13); 470 st->cr(); 471 st->print_cr("R14=" INTPTR_FORMAT, uc->R14); 472 print_location(st, uc->R14); 473 st->cr(); 474 st->print_cr("R15=" INTPTR_FORMAT, uc->R15); 475 print_location(st, uc->R15); 410 476 #else 411 477 st->print( "EAX=" INTPTR_FORMAT, uc->Eax); … … 421 487 st->print( "EIP=" INTPTR_FORMAT, uc->Eip); 422 488 st->print(", EFLAGS=" INTPTR_FORMAT, uc->EFlags); 489 490 st->cr(); 491 st->cr(); 492 493 st->print_cr("Register to memory mapping:"); 494 st->cr(); 495 496 // this is only for the "general purpose" registers 497 498 st->print_cr("EAX=" INTPTR_FORMAT, uc->Eax); 499 print_location(st, uc->Eax); 500 st->cr(); 501 st->print_cr("EBX=" INTPTR_FORMAT, uc->Ebx); 502 print_location(st, uc->Ebx); 503 st->cr(); 504 st->print_cr("ECX=" INTPTR_FORMAT, uc->Ecx); 505 print_location(st, uc->Ecx); 506 st->cr(); 507 st->print_cr("EDX=" INTPTR_FORMAT, uc->Edx); 508 print_location(st, uc->Edx); 509 st->cr(); 510 st->print_cr("ESP=" INTPTR_FORMAT, uc->Esp); 511 print_location(st, uc->Esp); 512 st->cr(); 513 st->print_cr("EBP=" INTPTR_FORMAT, uc->Ebp); 514 print_location(st, uc->Ebp); 515 st->cr(); 516 st->print_cr("ESI=" INTPTR_FORMAT, uc->Esi); 517 print_location(st, uc->Esi); 518 st->cr(); 519 st->print_cr("EDI=" INTPTR_FORMAT, uc->Edi); 520 print_location(st, uc->Edi); 423 521 #endif // AMD64 424 522 st->cr(); -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/os_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/prefetch_windows_x86.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/threadLS_windows_x86.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/threadLS_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/thread_windows_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ … … 85 85 return false; 86 86 } 87 88 void JavaThread::cache_global_variables() { } 89 -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/thread_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/unwind_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2004-2009 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/vmStructs_windows_x86.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/vm_version_windows_x86.cpp
r2 r278 1 1 /* 2 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 * have anyquestions.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 22 * 23 23 */ -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/windows_x86_32.ad
r2 r278 1 1 // 2 // Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 // -
trunk/openjdk/hotspot/src/os_cpu/windows_x86/vm/windows_x86_64.ad
r2 r278 1 1 // 2 // Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 // … … 17 17 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 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 or21 // have anyquestions.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 22 // 23 23 //
Note:
See TracChangeset
for help on using the changeset viewer.