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

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

726348 Newbie
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值