Operating System - HP-UX
1748180 Members
4102 Online
108759 Solutions
New Discussion

Re: TLongHasp of trove using the 96 % of cpu

 
Maneesh_3
Occasional Contributor

TLongHasp of trove using the 96 % of cpu

hi ,
I have a java application that is using the multithreading and i also using the trove(0.117)library for Collections............

Now I have a problem, when my java application use the insertionIndex(long) method of TLongHash Class . The percentage of CPU goes to 95-98% which is problem to java application in the Multithreading.

Can any body tell me is there any problem of using the TLongHash class in multithreading java application .....

If there is problem then whts the solution of this problem !!!!!!!!!!!!!!!!!!
1 REPLY 1
RAC_1
Honored Contributor

Re: TLongHasp of trove using the 96 % of cpu

Not very comfortable with Java. so can not answer "problem of using the TLongHash class in multithreading java application ....."

First thing to check, are you up to date on Java patches???

Second thing, have you set high values for JVM?? (initial heap size, max heap size etc??)

I would start with checking java patches.

Anil
There is no substitute to HARDWORK