📄 readme.txt
字号:
this option on, profiler will add enter/leave code in each place of
other methods, where methods from system classes (java.lang.*,
java.io.*) are called. This option most usefull for testing profiler,
or writing small examples, for profilers are work. I don't think, that
it can be usefull in real profiling.
[-] Version 0.5.17 was compiled in Java 1.4 compatibility mode, so plugin
could not be loaded when Eclipse started with JDK 1.3. Now I compile it
with JDK 1.3 again.
21 Apr 2003 - Version 0.5.17
--------------------------
[+] Preferences page in Window|Preferences created.
Currently it contains only settings for colors of
changed and unchanged items in views.
[+] New view "Reversed thread call tree" added. It shows
call tree starting fron leaves, so if one leaf uses
much time, you will able to see, who calls it and how
much time this takes. Then you can decide - optimize
leaf method or try to remove/replace it in parent method.
15 Apr 2003 - Version 0.5.16
--------------------------
[+] Mark instances in "Instances" view.
After this in column "+" difference between marked size and current
size of instances will be displayed. This allows to see how memory
usage has been changed after some action.
[*] Monitor profiling is in progress, but does not work yet.
[-] Bug fixed in "Thread call graph" - when method called recursivally,
total time and hit count has been summarized. However only first time
total time should be used.
1 Apr 2003 - Version 0.5.15
--------------------------
[+] Scale support in call graph view.
You can scale to minimum, to name, to name and direct time percent
or to any value using Scale widget.
25 Mar 2003 - Version 0.5.14
--------------------------
[+] Linux support (remote only).
You will need build libProfilerDLL.so from sources and copy it
to jre/libi386. File "m" in profiler_linux.tgz is example of compilation
script. Change it as needed for you OS.
See also profile_cpu/profile_heap for examples of start line for cpu and
heap profiling and r_cpu/r_heap as example how to use them.
18 Mar 2003 - Version 0.5.13
--------------------------
[+] Added sampling as new timing method. In reallity this is
completely different implementation of CPU profiling. With
this method bytecode of classes not changed, but profiler
suspends threads, makes call stack snapshot and resumes execution
of thread. So, overhead is not so much as for instrumentation.
[*] Added JAVA_OPTS line for Tomcat heap profiling (see documentation).
12 Mar 2003 - Version 0.5.12
--------------------------
[+] "10 seconds object" and "1 minute objects" in Instances view allows
you filter out temporary objects and see only long lived ones.
[+] Profiler was tested with jakarta-tomcat-4.1.12 and
jboss-3.0.6_tomcat-4.1.18 (both with remote launch configuration).
See documentation for more information.
[+] Percents and size change in "Instances" view.
[*] Profiler will not instrument classes with names ended with "$Proxy",
may be with such modification it will able to profiler JBoss. You
can also try to add org.jboss to exclusive filter.
3 Mar 2003 - Version 0.5.11
--------------------------
[+] Profiler will wait until frontend will request statistics next time
and allow JVM termination only after this. This allows see all
statistics even for short programs (however I don't know, why profile
short programs :-)).
[+] Filters in threads view.
[+] Allocation sites (view "Sites") for selected type in view "Instances"
(don't forget close and open perspective "Profiler").
[*] ObjectOutputStream replaced by more simple class. I found strange
behavior of it in process of debugging of allocation sites. May be
unexpected EOF's have same reason...
28 Feb 2003 - Version 0.5.10
--------------------------
[+] Added check of DLL version in plugin and in JRE\BIN.
[*] Trace class now prints exceptions, may be this will help to
find EOFException in model.
26 Feb 2003 - Version 0.5.9
--------------------------
[-] Fixed crash for Java 1.3 and heap profiling
(don't forget update ProfilerDLL in jre\bin).
[-] Fixed bug with NullPointerException for closed project.
25 Feb 2003 - Version 0.5.8
--------------------------
[-] Fixed crash if -XrunProfilerDLL used without arguments.
[*] Message "Press refresh button" on call graph view added.
17 Feb 2003 - Version 0.5.7
--------------------------
[+] Applet profiling support.
[+] Runtime workbench profiling support.
[+] Basic heap profiling (only instances).
[+] Reverse sorting (by clicking on the column heading again).
[+] Find places in thread call tree, with selected method.
10 Feb 2003 - Version 0.5.6
--------------------------
[+] Draw2D based call graph.
Display methods and calls between them with tooltips,
full or selected parts (callers and callees).
See screenshots on site or in documentation.
04 Feb 2003 - Version 0.5.5
--------------------------
[-] Instrumentation filter should use runtime packages, not
project packages. Fixed.
[+] Inclusive exclusive package filters.
Now you can noy only specify what packages should be
excluded from instrumentation, but also what packages
should be included. Usefull, if you want to profile only
your own classes.
[+] Total time column in packages/classes/methods views.
[+] Instrumentation time column (how much time used for
instrumentation of class).
[+] Now you can right click on a package/class and add it to either the
Profiler view filters OR the profiler launch configuration
instrumentation filter. (either inclusive or exclusive
capability as well).
[+] Simple export to HTML from packages/classes/methods and thread tree
views.
28 Jan 2003 - Version 0.5.4
--------------------------
[-] Profiler does not work, if Eclipse installed in path
with spaces, for example "C:\Program Files\Eclipse".
Fixed.
[+] Legend added in heap viewer.
[+] New column Time/Inv. shows average time use by one method invocation.
[-] Empty package/class/method removed.
[*] "Open method in editor" removed for <clinit>.
[+] Inclusive name pattern filter in "Profiler filters".
[+] User defined named patterns in "Profiler filters".
24 Jan 2003 - Version 0.5.3
--------------------------
[+] Refresh rate can be set on "Profiler" tab in launch configuration.
[+] Timing method can be set on "Profiler" tab in launch configuration.
See documentation or home page of SourceForge for details.
[+] Linux native part.
Only remote profiling tested, with profiled program on Linux server
and Eclipse with profiler on W2k.
However may be it will also work inside of Eclipse plugin on Linux.
To start programm on Linux use something like following line:
java -XrunProfilerDLL -mx32000k -classpath .:log4j.jar -Xbootclasspath/a:jakarta-regexp.jar:commons-lang.jar:bcel.jar:profiler.jar -D__PROFILER_PACKAGE_FILTER=com.sun.:sun. -D__PROFILER_USE_PACKAGE_FILTER=1 test7
You will need to place file libProfilerDLL.so in LD_LIBRARY_PATH path.
[+] Profiler launch configuration can be used in debug mode.
[+] Button "Clear" in "Threads" view clears all statistics.
[*] Disable/Enable state of buttons in "Threads" view update.
[+] Buttons Pause/Resume threads in "Threads" view. You can now pause and
resume execution, inluding remote profiling case.
[-] Profiler crashes if you specify a different classpath on the classpath tab.
Now it will add needed jar's to bootclasspath instead of adding
them directly in VM arguments.
22 Jan 2003 - Version 0.5.2
--------------------------
- ID's for launch configuration changes, you will need to recreate
all profiler launch configuration.
- Remote profiling support (new launch configuration - "Remote Profiler").
- Default values in launch configuration.
21 Jan 2003 - Version 0.5.1
--------------------------
- Temporary fix for max method count (increased to 100000).
- Source code added.
- Filtering java.* and javax.* by default.
- Active filtering by default.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -