It is most likely the transport used between your profiler front-end and the
JVM backend. Right click on the entry point you are interested in and
display it as a subtree. VisualVM and YourKit profilers show time
percentages based on the time spent in that method which is want you want to
see.
Pra
On Sun, Jan 9, 2011 at 3:15 AM, Mark Engelberg wrote:
> In the meantime, I fired up the "lein repl" which did start up in
> -server mode, and tried to do some profiling. It tells me 80% of its
> time is being spent in:
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()
To be clear, I h
Hm I've used JVisualVM before but not in cojunction with lein swank.
On my machine it appears to start two clojure.main processes both on
the client jvm, and referencing the clojure 1.2 jar despite having one
of the 1.3 versions in project.clj. Hrm..
On Jan 9, 6:15 am, Mark Engelberg wrote:
> I'm
2011/1/9 Mark Engelberg :
> I'm trying to use JVisualVM to profile some Clojure code.
>
> One thing I successfully figured out from using the profiler was that
> lein swank was not actually starting the jvm in -server mode like I
> thought it was. Arggh, now I have to figure out what's going wrong
I'm trying to use JVisualVM to profile some Clojure code.
One thing I successfully figured out from using the profiler was that
lein swank was not actually starting the jvm in -server mode like I
thought it was. Arggh, now I have to figure out what's going wrong
there.
In the meantime, I fired u