annotate agent/make/marks_notes.html @ 2213:63d374c54045

7014918: Improve core/minidump handling in Hotspot Summary: Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps. Reviewed-by: poonam, dsamersoff, sla, coleenp
author ctornqvi
date Wed, 09 Feb 2011 11:08:10 +0100
parents
children
rev   line source
duke@0 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
duke@0 2 <html>
duke@0 3 <head>
duke@0 4 <title>Hotspot SA User Interface Notes</title>
duke@0 5 </head>
duke@0 6
duke@0 7 <body>
duke@0 8 <h1>Hotspot SA User Interface Notes</h1>
duke@0 9
duke@0 10 <h2>Workspace and Building</h2>
duke@0 11
duke@0 12 <p>
duke@0 13 All the source code for the Serviceability Agent is in
duke@0 14 <code>src/share/vm/agent</code> in the HotSport workspace
duke@0 15 <code>/net/jano.sfbay/export/disk05/hotspot/ws/1.4/sa_baseline</code>
duke@0 16 <p>
duke@0 17 You can build the project by typing <code>gnumake</code> in the
duke@0 18 <code>src/share/vm/agent</code> directory.
duke@0 19 <p>
duke@0 20 You can also use the default build target using the Ant build file (build.xml). You can download Ant from
duke@0 21 <a href="http://jakarta.apache.org/ant">http://jakarta.apache.org/ant</a>. Documentation for Ant can be
duke@0 22 found at <a href="http://jakarta.apache.org/ant/manual/index.html">http://jakarta.apache.org/ant/manual/index.html</a>
duke@0 23
duke@0 24
duke@0 25 <h2>Running the project</h2>
duke@0 26
duke@0 27 <ul>
duke@0 28 <li><code>java -cp classes sun.jvm.hotspot.HSDB</code>
duke@0 29 <li><code>java -cp classes sun.jvm.hotspot.bugspot.Main</code>
duke@0 30 </ul>
duke@0 31
duke@0 32 <h2>Feedback</h2>
duke@0 33 <p>
duke@0 34 Refactoring of package hierarchy. All user interface components should be in
duke@0 35 the ui package. Perhaps: sun.jvm.hotspot.ui.hsdb.Main for the HSDB and
duke@0 36 sun.jvm.hotspot.ui.bugspot.Main for BugSpot.
duke@0 37 <p>
duke@0 38 The src\share\vm\agent area seems like a workspace so it should be organized like
duke@0 39 one. In particular, I'd like to suggest the following directory layout:<br>
duke@0 40
duke@0 41 <ul>
duke@0 42 <li>src: All sources that are curently under the sun directory.
duke@0 43 <li>classes: compiled class files.
duke@0 44 <li>lib: Resources like images, icons and jar files.
duke@0 45 <li>docs: Documentation
duke@0 46 <li>deploy: distribution bundles for Java Web Start.
duke@0 47 </ul>
duke@0 48
duke@0 49 <p>
duke@0 50 Seems like there is a lot of redundant functionality. Between the HSDB and BugSpot. Perhaps
duke@0 51 this can be consolidated with a <code>javax.swing.Actions</code> architecture.
duke@0 52
duke@0 53 <h2>Tasklist</h2>
duke@0 54
duke@0 55 <p>
duke@0 56 <b>Stack memory pane</b>:
duke@0 57 It's one of the more useful JVM debugging tools in the SA. However, it
duke@0 58 doesn't support any interaction with the text; the Memory Panel in BugSpot
duke@0 59 was written afterward (with help from Shannon) and implements proper
duke@0 60 selection, scrolling, and drag-and-drop, but no annotations. I'm not sure how
duke@0 61 to integrate the annotations with the JTable that's being used for the memory
duke@0 62 view; if you have suggestions here please let me know.
duke@0 63 <p>
duke@0 64 <b>Integrations with the NetBeans architecture (plug in).</b> See the
duke@0 65 <a href="http://openide.netbeans.org">Netbeans Open APIs homepage</a>
duke@0 66
duke@0 67
duke@0 68 <p>
duke@0 69 HSDB: Object Histogram. Column sizes should be sized according the the
duke@0 70 contents. i.e, The size and count columns should be narrow enought to
duke@0 71 handle the largest window. Since there is a lot of data, sorting
duke@0 72 and searching should be implemented.
duke@0 73 <p>
duke@0 74
duke@0 75 <h2>Log</h2>
duke@0 76
duke@0 77 <i>Last modified: Tue Feb 05 19:15:12 Pacific Standard Time 2002</i>
duke@0 78 <p>
duke@0 79 sun.jvm.hotspot.oops.ObjectHistogram should be the underlying data
duke@0 80 structure for the TableModels. It shouldnt bother with sorting the data -
duke@0 81 the table model should do that. It should implement these methods:
duke@0 82
duke@0 83 <pre>
duke@0 84 public int getSize()
duke@0 85 public ObjectHistogramElement getElementAt(int row);
duke@0 86 </pre>
duke@0 87 <p>
duke@0 88 ObjectHistogramElement should return the String that represents
duke@0 89 the third column
duke@0 90
duke@0 91
duke@0 92 <hr>
duke@0 93 <address><a href="mailto:mark.davidson@sun.com">Mark Davidson</a></address>
duke@0 94 <!-- Created: Mon Jan 28 14:33:47 Pacific Standard Time 2002 -->
duke@0 95 <!-- hhmts start -->
duke@0 96 Last modified: Tue Feb 05 20:05:13 Pacific Standard Time 2002
duke@0 97 <!-- hhmts end -->
duke@0 98 </body>
duke@0 99 </html>