equal
deleted
inserted
replaced
319 } |
319 } |
320 // base may not be page aligned |
320 // base may not be page aligned |
321 address base = current_stack_base(); |
321 address base = current_stack_base(); |
322 address bottom = (address)align_size_up((intptr_t)(base - size), os::vm_page_size());; |
322 address bottom = (address)align_size_up((intptr_t)(base - size), os::vm_page_size());; |
323 return (size_t)(base - bottom); |
323 return (size_t)(base - bottom); |
|
324 } |
|
325 |
|
326 struct tm* os::localtime_pd(const time_t* clock, struct tm* res) { |
|
327 return localtime_r(clock, res); |
324 } |
328 } |
325 |
329 |
326 // interruptible infrastructure |
330 // interruptible infrastructure |
327 |
331 |
328 // setup_interruptible saves the thread state before going into an |
332 // setup_interruptible saves the thread state before going into an |