Is this an error in HeapProf [message #118134] |
Tue, 13 November 2007 18:12 |
Eclipse User |
|
|
|
Originally posted by: thor.coldfirelabs.com
I'm using the most recent Agent Controller software on a Windows XP
platform under a Java 5 JDK. I'm attempting to do a standalone profile of
a JBOSS app which I start up from the command line. I get the following
error on the command line after the application go through its start-up
sequence for a few minutes:
---Begin---
[Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
log file
).]
---End---
There's actually more than that coming before, but its all application
level test.
I have the following environment variables set up for the run:
---Begin---
set
MARTINI_LOGGER_DIRECTORY=C:\TPTP_AgentController\plugins\org .eclipse.tptp.javaprofiler\log-heap
set MARTINI_LOGGER_LOG_LEVEL=5
set TPTP_AC_HOME=c:\TPTP_AgentController
set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
set
JAVA_OPTS=-agentlib:JPIBootLoader=JPIAgent:server=standalone ,filters=%TPTP_AC_HOME%\config\heapfilters.txt,file=%TPTP_AC _HOME%\config\traceheap.trcxml;HeapProf:allocsites=true
---End---
The last few lines of the martini log are:
---Begin---
Informative 11/13/07 17:10:58 3676 5 CDataManager Updated instrumentation
information for method
'newInstance((I[Ljava/lang/Object;)Ljava/lang/Object;)' (id = 188882)
Informative 11/13/07 17:10:58 3676 5 CDataManager Updated instrumentation
information for method 'getMaxIndex(()I)' (id = 188883)
Informative 11/13/07 17:10:58 3676 5 CDataManager Updated instrumentation
information for class
'org/hibernate/proxy/HibernateProxy$$FastClassByCGLIB$$76d69 142' (id =
14954)
Error 11/13/07 17:10:58 3676 0 CHeapAdaptor Found 'new' without mathcing
'invokespecial' instructions. Method
org/hibernate/proxy/HibernateProxy$$FastClassByCGLIB$$76d691 42.newInstance((I[Ljava/lang/Object;)Ljava/lang/Object;)
---End---
I set up the filters to have "org.hibernate.* * INCLUDE" as the first
line, but that doesn't make any difference.
It looks to me like an instrumentation problem with the profiler. but I
thought I'd ask people who know the tool better.
Is it a bug in the profiler, or am I doing something wrong?
Thanks,
-Ted Horoschak
|
|
|
|
Powered by
FUDForum. Page generated in 0.02656 seconds