hotspot/src/os/windows/vm/os_windows.cpp
changeset 2012 041fbc6030dd
parent 1664 fc9ed50498fb
child 2254 f13dda645a4b
child 2105 347008ce7984
equal deleted inserted replaced
2011:d666454081dd 2012:041fbc6030dd
   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) {