comparison src/share/vm/runtime/thread.cpp @ 14465:28f281e8de1d

Merge
author kvn
date Thu, 20 Feb 2014 12:20:56 -0800
parents e6195383bcaf 8a9bb7821e28
children f460c6926af7
comparison
equal deleted inserted replaced
14382:805784307dca 14465:28f281e8de1d
285 } 285 }
286 286
287 void Thread::record_stack_base_and_size() { 287 void Thread::record_stack_base_and_size() {
288 set_stack_base(os::current_stack_base()); 288 set_stack_base(os::current_stack_base());
289 set_stack_size(os::current_stack_size()); 289 set_stack_size(os::current_stack_size());
290 if (is_Java_thread()) {
291 ((JavaThread*) this)->set_stack_overflow_limit();
292 }
290 // CR 7190089: on Solaris, primordial thread's stack is adjusted 293 // CR 7190089: on Solaris, primordial thread's stack is adjusted
291 // in initialize_thread(). Without the adjustment, stack size is 294 // in initialize_thread(). Without the adjustment, stack size is
292 // incorrect if stack is set to unlimited (ulimit -s unlimited). 295 // incorrect if stack is set to unlimited (ulimit -s unlimited).
293 // So far, only Solaris has real implementation of initialize_thread(). 296 // So far, only Solaris has real implementation of initialize_thread().
294 // 297 //