Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

interpreting line in thread dump

I am trying to figure out this line in a thread dump

"RMI TCP Connection....." daemon prio=3 tid=0x0000000106f12000
   nid=0x1e10 runnable [0xfffffffe48dfe000]   

What is that address after runnable ? Looks like a stack address is it the top of the stack ?

like image 285
mafalda Avatar asked Nov 05 '22 03:11

mafalda


1 Answers

In the source code it's called last_Java_sp, so it's the top of the stack (or the last known top of the stack).

// print guess for valid stack memory region (assume 4K pages); helps lock debugging
st->print_cr("[" INTPTR_FORMAT "]", (intptr_t)last_Java_sp() & ~right_n_bits(12));
like image 105
ygram Avatar answered Nov 09 '22 11:11

ygram