Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Is this an error in HeapProf
Is this an error in HeapProf [message #118134] Tue, 13 November 2007 18:12 Go to next message
Eclipse UserFriend
Originally posted by:

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:

[Error: EC JPIAgent received message (FATAL ERROR): Internal error (see
log file

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:
MARTINI_LOGGER_DIRECTORY=C:\TPTP_AgentController\plugins\org .eclipse.tptp.javaprofiler\log-heap
set TPTP_AC_HOME=c:\TPTP_AgentController
set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
JAVA_OPTS=-agentlib:JPIBootLoader=JPIAgent:server=standalone ,filters=%TPTP_AC_HOME%\config\heapfilters.txt,file=%TPTP_AC _HOME%\config\traceheap.trcxml;HeapProf:allocsites=true

The last few lines of the martini log are:
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 =
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;)

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?

-Ted Horoschak
Re: Is this an error in HeapProf [message #118471 is a reply to message #118134] Tue, 20 November 2007 06:49 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member

This is a bug in the profiler. It is a known issue described here:

Is it possible for you to provide us with a small JBoss application that
reproduces this problem? It will greatly help in root-causing this
defect. If you can, please upload it as an attachment to the Bugzilla
entry mentioned above.

As a workaround, try to EXCLUDE the Hibernate-generated classes from
your profiling session by adding the following filter to your filters file:

org.hibernate.* * EXCLUDE


Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Collecting Object References - part 2
Next Topic:classes in default package
Goto Forum:

Current Time: Mon Sep 16 12:27:03 GMT 2019

Powered by FUDForum. Page generated in 0.02471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top