I got the eclipse profiler --
http://eclipsecolorer.sourceforge.net/index_profiler.html
-- to work locally. Its dog slow. Buggy. It keeps
OOME'ing though I up my mem allocation.
Going against a remote machine, ops03, only, everytime
it connects it seems to crap out immediately with the
below.
java.net.SocketException: Connection reset
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:78)
at
ru.nlmk.eclipse.plugins.profiler.io.ThinDataOutputStream.writeChar(ThinData
OutputStream.java:19)
at
ru.nlmk.eclipse.plugins.profiler.io.ThinDataOutputStream.writeString(ThinDa
taOutputStream.java:41)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:87)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceTreeInfo.writeStatistics(TraceT
reeInfo.java:94)
at
ru.nlmk.eclipse.plugins.profiler.trace.TraceThreadInfo.write(TraceThreadInf
o.java:312)
at
ru.nlmk.eclipse.plugins.profiler.trace.Trace.writeInstrumentationStatistics
(Trace.java:434)
at
ru.nlmk.eclipse.plugins.profiler.trace.Trace.writeStatistictToFrontEnd(Trac
e.java:290)
at
ru.nlmk.eclipse.plugins.profiler.trace.Trace$SenderThread.run(Trace.java:14
7)
Here is launch script I used:
stack@ops03:~$ more profiler.sh
#!/bin/sh
LIB=$HOME/lib/
export LD_LIBRARY_PATH=$LIB:$LD_LIBRARY_PATH
export JAVA_OPTS="-Xmx1024m -XrunProfilerDLL:1
-Xbootclasspath/a:$LIB/commons-lang.jar:$LIB/jakarta-regexp.jar:$LIB/profil
er_trace.jar
-D__PROFILER_PACKAGE_FILTER=__A__org.archive.crawler.Heritrix:__M__sun.:__M
__com.sun.:__M__java.:__M__javax.
-D__PROFILER_TIMING_METHOD=1"
$HOME/heritrix/bin/foreground_heritrix
I had to build the native profiling shared llib and
put it into the jdk i386 lib dir so it could be found.
Here is the script I used to build the shared lib:
stack@ops03:~/lib$ more m
#!/bin/sh
g++ -O0 -DLINUX -shared -Wall -I.
-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
ProfilerDLL.cpp -o libProfilerDLL.so
cp libProfilerDLL.so
${JAVA_HOME}/jre/lib/i386/libProfilerDLL.so
Nobody/Anonymous
Performance
None
Public
|
Date: 2007-03-14 01:32
|
|
Date: 2004-08-23 19:20 Logged In: YES |
|
Date: 2004-08-04 17:11 Logged In: YES |
|
Date: 2004-08-03 23:09 Logged In: YES |
|
Date: 2004-08-03 20:12 Logged In: YES |
|
Date: 2004-08-03 17:19 Logged In: YES |
|
Date: 2004-08-03 16:00 Logged In: YES |
|
Date: 2004-08-03 01:51 Logged In: YES |
|
Date: 2004-08-03 00:57 Logged In: YES |
|
Date: 2004-08-03 00:22 Logged In: YES |
|
Date: 2004-08-03 00:15 Logged In: NO |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-08-23 19:20 | stack-sf |
| close_date | - | 2004-08-23 19:20 | stack-sf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use