Wed, 20 Aug 2014 15:32:00 -0700
8055717: Increment hsx 25.25 build to b02 for 8u25-b11
Reviewed-by: jcoomes
duke@435 | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
duke@435 | 2 | <html> |
duke@435 | 3 | <head> |
duke@435 | 4 | <title>Hotspot SA User Interface Notes</title> |
duke@435 | 5 | </head> |
duke@435 | 6 | |
duke@435 | 7 | <body> |
duke@435 | 8 | <h1>Hotspot SA User Interface Notes</h1> |
duke@435 | 9 | |
duke@435 | 10 | <h2>Workspace and Building</h2> |
duke@435 | 11 | |
duke@435 | 12 | <p> |
duke@435 | 13 | All the source code for the Serviceability Agent is in |
duke@435 | 14 | <code>src/share/vm/agent</code> in the HotSport workspace |
duke@435 | 15 | <code>/net/jano.sfbay/export/disk05/hotspot/ws/1.4/sa_baseline</code> |
duke@435 | 16 | <p> |
duke@435 | 17 | You can build the project by typing <code>gnumake</code> in the |
duke@435 | 18 | <code>src/share/vm/agent</code> directory. |
duke@435 | 19 | <p> |
duke@435 | 20 | You can also use the default build target using the Ant build file (build.xml). You can download Ant from |
duke@435 | 21 | <a href="http://jakarta.apache.org/ant">http://jakarta.apache.org/ant</a>. Documentation for Ant can be |
duke@435 | 22 | found at <a href="http://jakarta.apache.org/ant/manual/index.html">http://jakarta.apache.org/ant/manual/index.html</a> |
duke@435 | 23 | |
duke@435 | 24 | |
duke@435 | 25 | <h2>Running the project</h2> |
duke@435 | 26 | |
duke@435 | 27 | <ul> |
duke@435 | 28 | <li><code>java -cp classes sun.jvm.hotspot.HSDB</code> |
duke@435 | 29 | </ul> |
duke@435 | 30 | |
duke@435 | 31 | <h2>Feedback</h2> |
duke@435 | 32 | <p> |
duke@435 | 33 | Refactoring of package hierarchy. All user interface components should be in |
sla@4642 | 34 | the ui package. Perhaps: sun.jvm.hotspot.ui.hsdb.Main for the HSDB. |
duke@435 | 35 | <p> |
duke@435 | 36 | The src\share\vm\agent area seems like a workspace so it should be organized like |
duke@435 | 37 | one. In particular, I'd like to suggest the following directory layout:<br> |
duke@435 | 38 | |
duke@435 | 39 | <ul> |
duke@435 | 40 | <li>src: All sources that are curently under the sun directory. |
duke@435 | 41 | <li>classes: compiled class files. |
duke@435 | 42 | <li>lib: Resources like images, icons and jar files. |
duke@435 | 43 | <li>docs: Documentation |
duke@435 | 44 | <li>deploy: distribution bundles for Java Web Start. |
duke@435 | 45 | </ul> |
duke@435 | 46 | |
duke@435 | 47 | <p> |
sla@4642 | 48 | Seems like there is a lot of redundant functionality. Perhaps |
duke@435 | 49 | this can be consolidated with a <code>javax.swing.Actions</code> architecture. |
duke@435 | 50 | |
duke@435 | 51 | <h2>Tasklist</h2> |
duke@435 | 52 | |
duke@435 | 53 | <p> |
duke@435 | 54 | <b>Stack memory pane</b>: |
duke@435 | 55 | It's one of the more useful JVM debugging tools in the SA. However, it |
sla@4642 | 56 | doesn't support any interaction with the text. |
duke@435 | 57 | <p> |
duke@435 | 58 | <b>Integrations with the NetBeans architecture (plug in).</b> See the |
duke@435 | 59 | <a href="http://openide.netbeans.org">Netbeans Open APIs homepage</a> |
duke@435 | 60 | |
duke@435 | 61 | |
duke@435 | 62 | <p> |
duke@435 | 63 | HSDB: Object Histogram. Column sizes should be sized according the the |
duke@435 | 64 | contents. i.e, The size and count columns should be narrow enought to |
duke@435 | 65 | handle the largest window. Since there is a lot of data, sorting |
duke@435 | 66 | and searching should be implemented. |
duke@435 | 67 | <p> |
duke@435 | 68 | |
duke@435 | 69 | <h2>Log</h2> |
duke@435 | 70 | |
duke@435 | 71 | <i>Last modified: Tue Feb 05 19:15:12 Pacific Standard Time 2002</i> |
duke@435 | 72 | <p> |
duke@435 | 73 | sun.jvm.hotspot.oops.ObjectHistogram should be the underlying data |
duke@435 | 74 | structure for the TableModels. It shouldnt bother with sorting the data - |
duke@435 | 75 | the table model should do that. It should implement these methods: |
duke@435 | 76 | |
duke@435 | 77 | <pre> |
duke@435 | 78 | public int getSize() |
duke@435 | 79 | public ObjectHistogramElement getElementAt(int row); |
duke@435 | 80 | </pre> |
duke@435 | 81 | <p> |
duke@435 | 82 | ObjectHistogramElement should return the String that represents |
duke@435 | 83 | the third column |
duke@435 | 84 | |
duke@435 | 85 | |
duke@435 | 86 | <hr> |
duke@435 | 87 | <address><a href="mailto:mark.davidson@sun.com">Mark Davidson</a></address> |
duke@435 | 88 | <!-- Created: Mon Jan 28 14:33:47 Pacific Standard Time 2002 --> |
duke@435 | 89 | <!-- hhmts start --> |
duke@435 | 90 | Last modified: Tue Feb 05 20:05:13 Pacific Standard Time 2002 |
duke@435 | 91 | <!-- hhmts end --> |
duke@435 | 92 | </body> |
duke@435 | 93 | </html> |