Changeset 278 for trunk/openjdk/hotspot/src/os/windows
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 1 deleted
- 29 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/windows/vm/attachListener_windows.cpp
r50 r278 1 1 /* 2 * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2005, 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/windows/vm/c1_globals_windows.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2001, 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/windows/vm/c2_globals_windows.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2001, 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/windows/vm/chaitin_windows.cpp
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/windows/vm/dtraceJSDT_windows.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 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/windows/vm/globals_windows.hpp
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/windows/vm/hpi_windows.cpp
r263 r278 1 1 /* 2 * Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 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/windows/vm/hpi_windows.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/windows/vm/interfaceSupport_windows.hpp
r2 r278 1 1 /* 2 * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 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/windows/vm/jvm_windows.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/windows/vm/jvm_windows.h
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/windows/vm/mutex_windows.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 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/windows/vm/mutex_windows.inline.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/windows/vm/objectMonitor_windows.cpp
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/windows/vm/objectMonitor_windows.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/windows/vm/objectMonitor_windows.inline.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/windows/vm/osThread_windows.cpp
r2 r278 1 1 /* 2 * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2000, 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/windows/vm/osThread_windows.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2001 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2001, 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/windows/vm/os_share_windows.hpp
r2 r278 1 1 /* 2 * Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1999, 2001, 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/windows/vm/os_windows.cpp
r277 r278 1 1 /* 2 * Copyright 1997-2010 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 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 */ … … 779 779 FILETIME jot; 780 780 if (!SystemTimeToFileTime(&java_origin, &jot)) { 781 fatal 1("Error = %d\nWindows error", GetLastError());781 fatal(err_msg("Error = %d\nWindows error", GetLastError())); 782 782 } 783 783 _calculated_offset = jlong_from(jot.dwHighDateTime, jot.dwLowDateTime); … … 1053 1053 const char* os::dll_file_extension() { return ".dll"; } 1054 1054 1055 const char * os::get_temp_directory() 1056 { 1057 static char path_buf[MAX_PATH]; 1058 if (GetTempPath(MAX_PATH, path_buf)>0) 1059 return path_buf; 1060 else{ 1061 path_buf[0]='\0'; 1062 return path_buf; 1063 } 1055 // This must be hard coded because it's the system's temporary 1056 // directory not the java application's temp directory, ala java.io.tmpdir. 1057 const char* os::get_temp_directory() { 1058 static char path_buf[MAX_PATH]; 1059 if (GetTempPath(MAX_PATH, path_buf)>0) 1060 return path_buf; 1061 else{ 1062 path_buf[0]='\0'; 1063 return path_buf; 1064 } 1064 1065 } 1065 1066 … … 1635 1636 if (si.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) 1636 1637 st->print(" , 64 bit"); 1637 } else { // os_vers == 60011638 } else if (os_vers == 6001) { 1638 1639 if (osvi.wProductType == VER_NT_WORKSTATION) { 1639 1640 st->print(" Windows 7"); … … 1641 1642 st->print(" Windows Server 2008 R2"); 1642 1643 } 1644 if (si.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) 1645 st->print(" , 64 bit"); 1646 } else { // future os 1647 // Unrecognized windows, print out its major and minor versions 1648 st->print(" Windows NT %d.%d", osvi.dwMajorVersion, osvi.dwMinorVersion); 1643 1649 if (si.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) 1644 1650 st->print(" , 64 bit"); … … 2905 2911 } 2906 2912 2913 bool os::create_stack_guard_pages(char* addr, size_t size) { 2914 return os::commit_memory(addr, size); 2915 } 2916 2917 bool os::remove_stack_guard_pages(char* addr, size_t size) { 2918 return os::uncommit_memory(addr, size); 2919 } 2920 2907 2921 // Set protections specified 2908 2922 bool os::protect_memory(char* addr, size_t bytes, ProtType prot, … … 3263 3277 _processor_type = si.dwProcessorType; 3264 3278 _processor_level = si.wProcessorLevel; 3265 _processor_count = si.dwNumberOfProcessors;3279 set_processor_count(si.dwNumberOfProcessors); 3266 3280 3267 3281 #ifdef __WIN32OS2__ … … 3563 3577 } 3564 3578 3579 void os::init_3(void) { 3580 return; 3581 } 3565 3582 3566 3583 // Mark the polling page as unreadable … … 4214 4231 int err = GetLastError(); 4215 4232 if (err != ERROR_NO_MORE_ITEMS && err != ERROR_CALL_NOT_IMPLEMENTED) { 4216 fatal 1("heap walk aborted with error %d", err);4233 fatal(err_msg("heap walk aborted with error %d", err)); 4217 4234 } 4218 4235 HeapUnlock(heap); … … 4224 4241 4225 4242 4226 #ifndef PRODUCT 4227 bool os::find(address addr) { 4243 bool os::find(address addr, outputStream* st) { 4228 4244 // Nothing yet 4229 4245 return false; 4230 4246 } 4231 #endif4232 4247 4233 4248 LONG WINAPI os::win32::serialize_fault_filter(struct _EXCEPTION_POINTERS* e) { … … 4283 4298 return 0; 4284 4299 } 4300 4301 4302 // We don't build a headless jre for Windows 4303 bool os::is_headless_jre() { return false; } 4304 -
trunk/openjdk/hotspot/src/os/windows/vm/os_windows.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 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/windows/vm/os_windows.inline.hpp
r138 r278 1 1 /* 2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 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/windows/vm/perfMemory_windows.cpp
r58 r278 1 1 /* 2 * Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2001, 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 */ … … 150 150 const char* tmpdir = os::get_temp_directory(); 151 151 const char* perfdir = PERFDATA_NAME; 152 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 2;152 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; 153 153 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes); 154 154 155 155 // construct the path name to user specific tmp directory 156 _snprintf(dirname, nbytes, "%s %s_%s", tmpdir, perfdir, user);156 _snprintf(dirname, nbytes, "%s\\%s_%s", tmpdir, perfdir, user); 157 157 158 158 return dirname; … … 321 321 322 322 char* usrdir_name = NEW_C_HEAP_ARRAY(char, 323 strlen(tmpdirname) + strlen(dentry->d_name) + 1);323 strlen(tmpdirname) + strlen(dentry->d_name) + 2); 324 324 strcpy(usrdir_name, tmpdirname); 325 strcat(usrdir_name, "\\"); 325 326 strcat(usrdir_name, dentry->d_name); 326 327 -
trunk/openjdk/hotspot/src/os/windows/vm/stubRoutines_windows.cpp
r2 r278 1 1 /* 2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2001, 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/windows/vm/threadCritical_windows.cpp
r2 r278 1 1 /* 2 * Copyright 2001-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2001, 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/windows/vm/thread_windows.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2002, 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/windows/vm/version.rc
r2 r278 1 1 // 2 // Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.2 // Copyright (c) 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/windows/vm/vmError_windows.cpp
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 */
Note:
See TracChangeset
for help on using the changeset viewer.