equal
deleted
inserted
replaced
325 VirtualQuery(&minfo, &minfo, sizeof(minfo)); |
325 VirtualQuery(&minfo, &minfo, sizeof(minfo)); |
326 sz = (size_t)os::current_stack_base() - (size_t)minfo.AllocationBase; |
326 sz = (size_t)os::current_stack_base() - (size_t)minfo.AllocationBase; |
327 return sz; |
327 return sz; |
328 } |
328 } |
329 |
329 |
|
330 struct tm* os::localtime_pd(const time_t* clock, struct tm* res) { |
|
331 const struct tm* time_struct_ptr = localtime(clock); |
|
332 if (time_struct_ptr != NULL) { |
|
333 *res = *time_struct_ptr; |
|
334 return res; |
|
335 } |
|
336 return NULL; |
|
337 } |
330 |
338 |
331 LONG WINAPI topLevelExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo); |
339 LONG WINAPI topLevelExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo); |
332 |
340 |
333 // Thread start routine for all new Java threads |
341 // Thread start routine for all new Java threads |
334 static unsigned __stdcall java_start(Thread* thread) { |
342 static unsigned __stdcall java_start(Thread* thread) { |