comparison src/os_cpu/linux_x86/vm/os_linux_x86.cpp @ 6768:716e6ef4482a

7190089: NMT ON: NMT failed assertion on thread's stack base address Summary: Solaris only, record stack info to NMT after stack size adjustment was made for primordial threads Reviewed-by: kvn, acorn, coleenp
author zgu
date Mon, 17 Sep 2012 10:20:04 -0400
parents da4be62fb889
children bf2edd3c9b0f
comparison
equal deleted inserted replaced
6765:15ba0e7a3ff4 6768:716e6ef4482a
112 // if the CPU splits constants across multiple instructions). 112 // if the CPU splits constants across multiple instructions).
113 113
114 return (char*) -1; 114 return (char*) -1;
115 } 115 }
116 116
117 void os::initialize_thread() { 117 void os::initialize_thread(Thread* thr) {
118 // Nothing to do. 118 // Nothing to do.
119 } 119 }
120 120
121 address os::Linux::ucontext_get_pc(ucontext_t * uc) { 121 address os::Linux::ucontext_get_pc(ucontext_t * uc) {
122 return (address)uc->uc_mcontext.gregs[REG_PC]; 122 return (address)uc->uc_mcontext.gregs[REG_PC];