< prev index next >
src/os/windows/vm/os_windows.cpp
Print this page
rev 10311 : 8150619: Improve thread based logging introduced with 8149036
Reviewed-by:
@@ -541,20 +541,19 @@
}
// Helper function to trace _beginthreadex attributes,
// similar to os::Posix::describe_pthread_attr()
static char* describe_beginthreadex_attributes(char* buf, size_t buflen,
- size_t stacksize, unsigned initflag)
-{
+ size_t stacksize, unsigned initflag) {
stringStream ss(buf, buflen);
if (stacksize == 0) {
ss.print("stacksize: default, ");
} else {
ss.print("stacksize: " SIZE_FORMAT "k, ", stacksize / 1024);
}
ss.print("flags: ");
- #define PRINT_FLAG(f) if (initflag & f) ss.print( XSTR(f) " ");
+ #define PRINT_FLAG(f) if (initflag & f) ss.print( #f " ");
#define ALL(X) \
X(CREATE_SUSPENDED) \
X(STACK_SIZE_PARAM_IS_A_RESERVATION)
ALL(PRINT_FLAG)
#undef ALL
< prev index next >