Changeset 58 for trunk/openjdk/hotspot/src/share
- Timestamp:
- Jul 15, 2010, 2:46:42 PM (15 years ago)
- Location:
- trunk/openjdk/hotspot/src/share/vm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/hotspot/src/share/vm/prims/forte.cpp
r2 r58 618 618 619 619 620 #if ndef _WINDOWS620 #if !defined(_WINDOWS) && !defined(OS2) 621 621 // Support for the Forte(TM) Peformance Tools collector. 622 622 // … … 637 637 #define collector_func_load(x0,x1,x2,x3,x4,x5,x6) \ 638 638 ( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),0 : 0 ) 639 #endif // !_WINDOWS 639 #endif // !_WINDOWS && !OS2 640 640 641 641 } // end extern "C" … … 643 643 644 644 void Forte::register_stub(const char* name, address start, address end) { 645 #if !defined(_WINDOWS) && !defined( IA64)645 #if !defined(_WINDOWS) && !defined(OS2) && !defined(IA64) 646 646 assert(pointer_delta(end, start, sizeof(jbyte)) < INT_MAX, 647 647 "Code size exceeds maximum range") … … 649 649 collector_func_load((char*)name, NULL, NULL, start, 650 650 pointer_delta(end, start, sizeof(jbyte)), 0, NULL); 651 #endif // !_WINDOWS && ! IA64652 } 651 #endif // !_WINDOWS && !OS2 && !IA64 652 } -
trunk/openjdk/hotspot/src/share/vm/prims/jniFastGetField.hpp
r2 r58 61 61 62 62 public: 63 #if defined(_WINDOWS) && !defined(_WIN64)63 #if (defined(_WINDOWS) && !defined(_WIN64)) || defined(OS2) 64 64 static GetBooleanField_t jni_fast_GetBooleanField_fp; 65 65 static GetByteField_t jni_fast_GetByteField_fp; -
trunk/openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
r51 r58 82 82 83 83 #ifdef OS2 84 #include <sys/types.h> 84 85 #ifdef __WIN32OS2__ 85 86 #include <excpt.h> 87 // compiler's select() would conflict with Winsock 88 #define select __io_select 86 89 #include <io.h> 90 #undef select 91 #ifdef __EMX__ 92 // we disable BSD visibility for the compiler so define these manually 93 int finite(double) __pure2; 94 int isnanf(float) __pure2; 95 #define S_IREAD S_IRUSR 96 #define S_IWRITE S_IWUSR 97 #define S_IEXEC S_IXUSR 98 #include <alloca.h> // <stdlib.h> defines alloca only in BSD mode 99 #endif 100 #else // __WIN32OS2__ 101 #include <io.h> 102 #endif // __WIN32OS2__ 103 #ifdef __EMX__ 104 #include <strings.h> // strcasecmp() 105 // EMX doesn't provide some ANSI declarations 106 #define _alloca alloca 107 #define _fileno fileno 108 #define _O_BINARY O_BINARY 109 #define _O_TEXT O_TEXT 110 #define _O_CREAT O_CREAT 111 #define _O_TRUNC O_TRUNC 112 #define _O_EXCL O_TRUNC 113 #define _O_WRONLY O_WRONLY 114 #define _O_RDONLY O_RDONLY 115 #define _O_RDWR O_RDWR 116 #define _S_IREAD S_IREAD 117 #define _S_IWRITE S_IWRITE 118 #define _S_IEXEC S_IEXEC 87 119 #endif 88 120 #endif // OS2 -
trunk/openjdk/hotspot/src/share/vm/utilities/ostream.cpp
r2 r58 835 835 #endif 836 836 837 #ifdef __WIN32OS2__ 838 #include <winsock.h> 839 #endif 840 837 841 // Network access 838 842 networkStream::networkStream() : bufferedStream(1024*10, 1024*10) {
Note:
See TracChangeset
for help on using the changeset viewer.