*
The moose likes Performance and the fly likes Performance Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Performance Issue" Watch "Performance Issue" New topic
Author

Performance Issue

Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
Hi Friends,

I came across this question and was unable to answer this. Can anyone help me regarding this question?

This is the given Class



Here were the questions asked.

1. This class has a serious flaw. What is it and how can it be fixed?.
2. Improve performance of the class in concurrent environment using the Java Concurrency package.
Explain why performance is better.
3. Write a test which demonstrates performance improvement in a concurrent environment.

Thanks

[Nitesh: Added CodeTags]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
Help with what, specifically? This looks like homework that you should be doing in order to learn. Folks here are not going to do it for you.

So: What thoughts have you had on any of these? Where are you stuck making progress?


Ping & DNS - my free Android networking tools app
Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
Yes it is homework. But I am not good at Synchronize thingy.! My concepts are not clear about this. I did do my other homework . So please do tell me what would be your answers? I will make sure i shall study that later but the reason i posted is i am running short of time n i need this to be done asap.

Thanks
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Nilesh Raje wrote:I did do my other homework .


We have seen two of your assignments in this forum :twisted: so are you really sure you did the other homework

Anyways, going through this tutorial will not take much time and will make things clear for you to do this assignment.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Performance Issue
 
Similar Threads
Performance Question
Is there a better way to do this?
Performance Test Code
a question on parameter passing