#48 Profile static system methods (like Math.*) is not possible)

open
nobody
None
5
2003-11-22
2003-11-22
No

Profile of java.lang.Math/java.lang.StrictMath is not
possible.
If i check "profile system classes", i see only String and
StringBuffer methods.
If i also add inclusive filter for entire java.lang.* or/and
java.*, nothing happens. I cannot see any call on *Math
classes, but i'm sure, that they are used in my
(mathematical) application ;)

------ comment from Konstantin -------
Yes, you are right Andrei, there is such problem. Your
idea about "Profile System classes" was good, only
problem that I search only virtual methods, but you call
static. So, when I fix this:

IstructionFinder f = new InstructionFinder(instructionList)
;
f.search("invokevirtual|invokespecial|invokestatic");
------ end of comment -------

Please, Konstantin, could you implement this two lines of
code before december ;)
I wish i have possibilities to profile Math.* methods
before my project ends ;)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks