codecompleting
codecompleting

Reputation: 9621

Connecting jconsole to tomcat during a benchmark

I have a simple spring application that I am benchmarking with jmeter.

Do I have to do something to my application to be able to hook into it using jconsole?

I've never used jconsole before, but I think it would be great if I can view the # of objects created and memory consumption and the behaviour of the GC etc.

Upvotes: 0

Views: 381

Answers (1)

Oleg Mikheev
Oleg Mikheev

Reputation: 17444

JConsole is an old stuff, use VisualVM. Look at this discussion to see how to connect VisualVM to your Tomcat.

And no, you don't have to do anything to your application to be able to profile it with any (I hope) profiler.

Upvotes: 1

Related Questions