Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: HotSpot cra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 9 Topic 783 of 803
Post > Topic >>

Re: HotSpot crashed on Linux

by David Gourley <dave@[EMAIL PROTECTED] > Jul 24, 2007 at 09:16 PM

Roedy Green wrote:
>>Every Timer object you create in your code (implicitly) creates a 
>>thread.  I don't think these threads go away till the timer objects get 
>>garbage collected.  It's much better to have a single timer object with 
>>multiple enqueued TimerTasks than a huge number of Timer objects...
> 
> On the other paw, only one nugget of work can run at a time with a
> single Timer.  

Agreed.  We've tried consciously to limit the work performed in Timer 
threads for this reason, but I agree that if you don't you may need to 
allow multiple Timer objects.

On the other hand, not controlling numbers of Timer objects is a recipe 
for disaster.....

Dave




 9 Posts in Topic:
HotSpot crashed on Linux
nicolas.raoul@[EMAIL PROT  2007-07-17 03:01:31 
Re: HotSpot crashed on Linux
Roedy Green <see_websi  2007-07-17 19:24:03 
Re: HotSpot crashed on Linux
Juha Laiho <Juha.Laiho  2007-07-21 15:52:04 
Re: HotSpot crashed on Linux
nicolas.raoul@[EMAIL PROT  2007-07-23 05:24:02 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-23 20:40:31 
Re: HotSpot crashed on Linux
Roedy Green <see_websi  2007-07-24 07:41:39 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-24 21:16:38 
Re: HotSpot crashed on Linux
Juha Laiho <Juha.Laiho  2007-07-25 16:47:03 
Re: HotSpot crashed on Linux
David Gourley <dave@[E  2007-07-25 20:30:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 0:06:29 CDT 2008.