src/hotspot/share/runtime/os.cpp
changeset 58048 8009a9c36251
parent 58041 d8902e9c307c
child 58083 9046db64ca39
equal deleted inserted replaced
58047:01905d6a828b 58048:8009a9c36251
    85 #endif
    85 #endif
    86 
    86 
    87 static size_t cur_malloc_words = 0;  // current size for MallocMaxTestWords
    87 static size_t cur_malloc_words = 0;  // current size for MallocMaxTestWords
    88 
    88 
    89 DEBUG_ONLY(bool os::_mutex_init_done = false;)
    89 DEBUG_ONLY(bool os::_mutex_init_done = false;)
    90 
       
    91 void os_init_globals() {
       
    92   // Called from init_globals().
       
    93   // See Threads::create_vm() in thread.cpp, and init.cpp.
       
    94   os::init_globals();
       
    95 }
       
    96 
    90 
    97 static time_t get_timezone(const struct tm* time_struct) {
    91 static time_t get_timezone(const struct tm* time_struct) {
    98 #if defined(_ALLBSD_SOURCE)
    92 #if defined(_ALLBSD_SOURCE)
    99   return time_struct->tm_gmtoff;
    93   return time_struct->tm_gmtoff;
   100 #elif defined(_WINDOWS)
    94 #elif defined(_WINDOWS)