Changeset 317
- Timestamp:
- Feb 16, 2012, 1:01:21 PM (13 years ago)
- Location:
- trunk/openjdk/hotspot/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/hotspot/src/cpu/x86/vm/jniFastGetField_x86_32.cpp
r309 r317 34 34 #define BUFFER_SIZE 30 35 35 36 #if defined(_WINDOWS) || defined(OS2)36 #ifdef TARGET_OS_FAMILY_windows 37 37 GetBooleanField_t JNI_FastGetField::jni_fast_GetBooleanField_fp; 38 38 GetByteField_t JNI_FastGetField::jni_fast_GetByteField_fp; … … 114 114 __ jcc (Assembler::notEqual, slow); 115 115 116 #if !defined(_WINDOWS) && !defined(__WIN32OS2__)116 #ifndef TARGET_OS_FAMILY_windows 117 117 __ ret (0); 118 118 #else … … 136 136 __ flush (); 137 137 138 #if !defined(_WINDOWS) && !defined(OS2)138 #ifndef TARGET_OS_FAMILY_windows 139 139 return fast_entry; 140 140 #else … … 231 231 __ pop (rsi); 232 232 233 #if !defined(_WINDOWS) && !defined(__WIN32OS2__)233 #ifndef TARGET_OS_FAMILY_windows 234 234 __ ret (0); 235 235 #else … … 248 248 __ flush (); 249 249 250 #if !defined(_WINDOWS) && !defined(OS2)250 #ifndef TARGET_OS_FAMILY_windows 251 251 return fast_entry; 252 252 #else … … 325 325 __ jcc (Assembler::notEqual, slow_with_pop); 326 326 327 #if !defined(_WINDOWS) && !defined(__WIN32OS2__)327 #ifndef TARGET_OS_FAMILY_windows 328 328 __ ret (0); 329 329 #else … … 349 349 __ flush (); 350 350 351 #if !defined(_WINDOWS) && !defined(OS2)351 #ifndef TARGET_OS_FAMILY_windows 352 352 return fast_entry; 353 353 #else -
trunk/openjdk/hotspot/src/share/vm/prims/forte.cpp
r309 r317 631 631 632 632 633 #if !defined(_WINDOWS) && !defined(OS2)633 #ifndef TARGET_OS_FAMILY_windows 634 634 // Support for the Forte(TM) Peformance Tools collector. 635 635 // … … 650 650 #define collector_func_load(x0,x1,x2,x3,x4,x5,x6) \ 651 651 ( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),0 : 0 ) 652 #endif // ! _WINDOWS && !OS2652 #endif // !TARGET_OS_FAMILY_windows 653 653 654 654 } // end extern "C" … … 656 656 657 657 void Forte::register_stub(const char* name, address start, address end) { 658 #if !defined( _WINDOWS) && !defined(OS2) && !defined(IA64)658 #if !defined(TARGET_OS_FAMILY_windows) && !defined(IA64) 659 659 assert(pointer_delta(end, start, sizeof(jbyte)) < INT_MAX, 660 660 "Code size exceeds maximum range"); … … 662 662 collector_func_load((char*)name, NULL, NULL, start, 663 663 pointer_delta(end, start, sizeof(jbyte)), 0, NULL); 664 #endif // ! _WINDOWS && !OS2&& !IA64665 } 664 #endif // !TARGET_OS_FAMILY_windows && !IA64 665 } -
trunk/openjdk/hotspot/src/share/vm/prims/jni.cpp
r309 r317 3186 3186 if (UseFastJNIAccessors && !JvmtiExport::can_post_field_access() 3187 3187 && !VerifyJNIFields && !TraceJNICalls && !CountJNICalls && !CheckJNICalls 3188 #if defined( _WINDOWS) && defined(IA32) && defined(COMPILER2)3188 #if defined(TARGET_OS_FAMILY_windows) && defined(IA32) && defined(COMPILER2) 3189 3189 // windows x86 currently needs SEH wrapper and the gain of the fast 3190 3190 // versions currently isn't certain for server vm on uniprocessor. -
trunk/openjdk/hotspot/src/share/vm/prims/jniFastGetField.hpp
r309 r317 67 67 68 68 public: 69 #if (defined(_WINDOWS) && !defined(_WIN64)) || defined(OS2)69 #ifdef TARGET_OS_ARCH_MODEL_windows_x86_32 70 70 static GetBooleanField_t jni_fast_GetBooleanField_fp; 71 71 static GetByteField_t jni_fast_GetByteField_fp; -
trunk/openjdk/hotspot/src/share/vm/runtime/vmStructs.cpp
r309 r317 2346 2346 // Solstice NFS setup. If everyone switches to local workspaces on 2347 2347 // Win32, we can put this back in. 2348 #ifndef _WINDOWS2348 #ifndef TARGET_OS_FAMILY_windows 2349 2349 debug_only(VM_STRUCTS(ENSURE_FIELD_TYPE_PRESENT, \ 2350 2350 CHECK_NO_OP, \ -
trunk/openjdk/hotspot/src/share/vm/utilities/decoder.cpp
r309 r317 30 30 bool Decoder::_initialized = false; 31 31 32 #ifndef _WINDOWS32 #ifndef TARGET_OS_FAMILY_windows 33 33 34 34 // Implementation of common functionalities among Solaris and Linux -
trunk/openjdk/hotspot/src/share/vm/utilities/decoder.hpp
r309 r317 29 29 #include "memory/allocation.hpp" 30 30 31 #ifdef _WINDOWS31 #ifdef TARGET_OS_FAMILY_windows 32 32 #include <windows.h> 33 33 #include <imagehlp.h> … … 43 43 class ElfFile; 44 44 45 #endif // _WINDOWS45 #endif // TARGET_OS_FAMILY_windows 46 46 47 47 … … 70 70 static void uninitialize(); 71 71 72 #ifdef _WINDOWS72 #ifdef TARGET_OS_FAMILY_windows 73 73 static decoder_status decode(address addr, char *buf, int buflen, int *offset); 74 74 #else … … 80 80 static decoder_status get_status() { return _decoder_status; }; 81 81 82 #ifndef _WINDOWS82 #ifndef TARGET_OS_FAMILY_windows 83 83 private: 84 84 static ElfFile* get_elf_file(const char* filepath); 85 #endif // _WINDOWS85 #endif // TARGET_OS_FAMILY_windows 86 86 87 87 … … 90 90 static bool _initialized; 91 91 92 #ifdef _WINDOWS92 #ifdef TARGET_OS_FAMILY_windows 93 93 static HMODULE _dbghelp_handle; 94 94 static bool _can_decode_in_vm; … … 97 97 #else 98 98 static ElfFile* _opened_elf_files; 99 #endif // _WINDOWS99 #endif // TARGET_OS_FAMILY_windows 100 100 }; 101 101 -
trunk/openjdk/hotspot/src/share/vm/utilities/elfFile.cpp
r309 r317 25 25 #include "precompiled.hpp" 26 26 27 #ifndef _WINDOWS27 #ifndef TARGET_OS_FAMILY_windows 28 28 29 29 #include <string.h> … … 196 196 } 197 197 198 #endif // _WINDOWS198 #endif // TARGET_OS_FAMILY_windows -
trunk/openjdk/hotspot/src/share/vm/utilities/elfFile.hpp
r309 r317 26 26 #define __ELF_FILE_HPP 27 27 28 #ifndef _WINDOWS28 #ifndef TARGET_OS_FAMILY_windows 29 29 30 30 #include <elf.h> … … 135 135 }; 136 136 137 #endif // _WINDOWS137 #endif // TARGET_OS_FAMILY_windows 138 138 139 139 #endif // __ELF_FILE_HPP -
trunk/openjdk/hotspot/src/share/vm/utilities/elfStringTable.cpp
r309 r317 25 25 #include "precompiled.hpp" 26 26 27 #ifndef _WINDOWS27 #ifndef TARGET_OS_FAMILY_windows 28 28 29 29 #include "memory/allocation.inline.hpp" … … 86 86 } 87 87 88 #endif // _WINDOWS88 #endif // TARGET_OS_FAMILY_windows 89 89 -
trunk/openjdk/hotspot/src/share/vm/utilities/elfStringTable.hpp
r309 r317 26 26 #define __ELF_STRING_TABLE_HPP 27 27 28 #ifndef _WINDOWS28 #ifndef TARGET_OS_FAMILY_windows 29 29 30 30 #include "memory/allocation.hpp" … … 77 77 }; 78 78 79 #endif // _WINDOWS79 #endif // TARGET_OS_FAMILY_windows 80 80 81 81 #endif // __ELF_STRING_TABLE_HPP -
trunk/openjdk/hotspot/src/share/vm/utilities/elfSymbolTable.cpp
r309 r317 25 25 #include "precompiled.hpp" 26 26 27 #ifndef _WINDOWS27 #ifndef TARGET_OS_FAMILY_windows 28 28 29 29 #include "memory/allocation.inline.hpp" … … 123 123 } 124 124 125 #endif // _WINDOWS125 #endif // TARGET_OS_FAMILY_windows -
trunk/openjdk/hotspot/src/share/vm/utilities/elfSymbolTable.hpp
r309 r317 26 26 #define __ELF_SYMBOL_TABLE_HPP 27 27 28 #ifndef _WINDOWS28 #ifndef TARGET_OS_FAMILY_windows 29 29 30 30 … … 66 66 }; 67 67 68 #endif // _WINDOWS68 #endif // TARGET_OS_FAMILY_windows 69 69 70 70 #endif // __ELF_SYMBOL_TABLE_HPP
Note:
See TracChangeset
for help on using the changeset viewer.