equal
deleted
inserted
replaced
79 julong os::num_mallocs = 0; // # of calls to malloc/realloc |
79 julong os::num_mallocs = 0; // # of calls to malloc/realloc |
80 julong os::alloc_bytes = 0; // # of bytes allocated |
80 julong os::alloc_bytes = 0; // # of bytes allocated |
81 julong os::num_frees = 0; // # of calls to free |
81 julong os::num_frees = 0; // # of calls to free |
82 julong os::free_bytes = 0; // # of bytes freed |
82 julong os::free_bytes = 0; // # of bytes freed |
83 #endif |
83 #endif |
|
84 |
|
85 void os_init_globals() { |
|
86 // Called from init_globals(). |
|
87 // See Threads::create_vm() in thread.cpp, and init.cpp. |
|
88 os::init_globals(); |
|
89 } |
84 |
90 |
85 // Fill in buffer with current local time as an ISO-8601 string. |
91 // Fill in buffer with current local time as an ISO-8601 string. |
86 // E.g., yyyy-mm-ddThh:mm:ss-zzzz. |
92 // E.g., yyyy-mm-ddThh:mm:ss-zzzz. |
87 // Returns buffer, or NULL if it failed. |
93 // Returns buffer, or NULL if it failed. |
88 // This would mostly be a call to |
94 // This would mostly be a call to |