starvation at com.timesten.jdbc.JdbcOdbcDirect.paramData(long, byte[])

来源:互联网 发布:sql sever 导入 excel 编辑:程序博客网 时间:2024/06/06 05:24

starvation at com.timesten.jdbc.JdbcOdbcDirect.paramData(long, byte[])

726348Newbie
On HP-UX (PA-RISC, 64bit) with 16 cores, while testing (jdbc program with direct mode), 
with profile tool, I found the threads were in starvation state, and the starvation method is com.timesten.jdbc.JdbcOdbcDirect.paramData(long, byte[]).

It is a native method, not a java method.
why this method causing starvation?

could anyone explain it?
thanks a lot.

Edited by: ramon_lmj on Mar 31, 2010 7:07 AM


There are lots of reasons why a thread may be in starvation state; all that 'starvation state means' is that the tread is theoretically in the 'runnable' state but is not actually running. This could simply because there are more than 16 runnable threads and the system only has 16 cores or it could be due to O/S resource issues (waiting on a paging operation for example) or many other things. It's not possible to say what the underlying cause is from the data given here; you need to look at the dynamics of the entire system and examine how that changes over time not just at one point in time. That should give you some insight into what is causing this starvation and whether it is real/problematic or not.

Chris
原创粉丝点击