This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Number of Objects  RSS feed

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to figure out how many objects are created in JVM at particular point of time during program execution. Can you please suggest how can I achieve this in eclipse?

Thanks.
 
Winston Gutkowski
Bartender
Posts: 10573
65
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vaibhav G Garg wrote:I have to figure out how many objects are created in JVM at particular point of time during program execution. Can you please suggest how can I achieve this in eclipse?

I suspect there are several profilers around that can do it for you; although I have to admit, I've never tried.

Any particular reason for needing this? It seems like an odd request.

Winston
 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am preparing for SCJP exam and there was a similar question in the mock exam. So, just wanted to check the correctness of the question I thought of running it in eclipse.
 
Winston Gutkowski
Bartender
Posts: 10573
65
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vaibhav G Garg wrote:I am preparing for SCJP exam and there was a similar question in the mock exam. So, just wanted to check the correctness of the question I thought of running it in eclipse.

Well, If you're using the Sierra/Bates study book, I'm pretty sure they give all the answers in the back (it certainly did when I did the exam). Are you saying you want something to check that their answers are correct?

Winston
 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Winston,

I was giving some online tests and wanted to cross-check the questions for that.

Thanks & Regards,
Vaibhav Garg
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!