< prev index next >

src/hotspot/share/utilities/globalDefinitions_visCPP.hpp

Print this page
rev 60632 : 8248670: Windows: Exception handling support on AArch64
Reviewed-by:
Contributed-by: mbeckwit, luhenry, burban


 119 #define unlink _unlink
 120 #define strdup _strdup
 121 
 122 // Formatting.
 123 #define FORMAT64_MODIFIER "I64"
 124 
 125 #define offset_of(klass,field) offsetof(klass,field)
 126 
 127 #define THREAD_LOCAL __declspec(thread)
 128 
 129 // Inlining support
 130 // MSVC has '__declspec(noinline)' but according to the official documentation
 131 // it only applies to member functions. There are reports though which pretend
 132 // that it also works for freestanding functions.
 133 #define NOINLINE     __declspec(noinline)
 134 #define ALWAYSINLINE __forceinline
 135 
 136 // Alignment
 137 #define ATTRIBUTE_ALIGNED(x) __declspec(align(x))
 138 




 139 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP


 119 #define unlink _unlink
 120 #define strdup _strdup
 121 
 122 // Formatting.
 123 #define FORMAT64_MODIFIER "I64"
 124 
 125 #define offset_of(klass,field) offsetof(klass,field)
 126 
 127 #define THREAD_LOCAL __declspec(thread)
 128 
 129 // Inlining support
 130 // MSVC has '__declspec(noinline)' but according to the official documentation
 131 // it only applies to member functions. There are reports though which pretend
 132 // that it also works for freestanding functions.
 133 #define NOINLINE     __declspec(noinline)
 134 #define ALWAYSINLINE __forceinline
 135 
 136 // Alignment
 137 #define ATTRIBUTE_ALIGNED(x) __declspec(align(x))
 138 
 139 #ifdef _M_ARM64
 140 #define USE_VECTORED_EXCEPTION_HANDLING
 141 #endif
 142 
 143 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
< prev index next >