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

在一个配备16核处理器的HP-UX系统上,通过配置文件工具发现使用直接模式的JDBC程序存在线程饥饿现象。具体表现为com.timesten.jdbc.JdbcOdbcDirect.paramData(long, byte[])方法导致的问题。该问题是由于系统资源分配不均或其他因素引起的。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值