agent/src/share/classes/sun/jvm/hotspot/DebugServer.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6879063 Sdiff agent/src/share/classes/sun/jvm/hotspot

agent/src/share/classes/sun/jvm/hotspot/DebugServer.java

Print this page




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *
  23  */
  24 
  25 package sun.jvm.hotspot;
  26 
  27 import sun.jvm.hotspot.debugger.*;
  28 import sun.jvm.hotspot.debugger.dbx.*;
  29 import sun.jvm.hotspot.runtime.*;
  30 import sun.jvm.hotspot.oops.*;
  31 
  32 public class DebugServer {
  33   private void usage() {
  34     System.out.println("usage: java " + getClass().getName() + " <pid> [server id]");
  35     System.out.println("   or: java " + getClass().getName() + " <executable> <core> [server id]");
  36     System.out.println("\"pid\" must be the process ID of a HotSpot process.");
  37     System.out.println("If reading a core file, \"executable\" must (currently) be the");
  38     System.out.println("full path name to the precise java executable which generated");
  39     System.out.println("the core file (not, on Solaris, the \"java\" wrapper script in");
  40     System.out.println("the \"bin\" subdirectory of the JDK.)");
  41     System.out.println("The \"server id\" is a unique name for a specific remote debuggee.");
  42     System.exit(1);
  43   }
  44 
  45   public static void main(String[] args) {
  46     new DebugServer().run(args);
  47   }
  48 




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *
  23  */
  24 
  25 package sun.jvm.hotspot;
  26 
  27 import sun.jvm.hotspot.debugger.*;

  28 import sun.jvm.hotspot.runtime.*;
  29 import sun.jvm.hotspot.oops.*;
  30 
  31 public class DebugServer {
  32   private void usage() {
  33     System.out.println("usage: java " + getClass().getName() + " <pid> [server id]");
  34     System.out.println("   or: java " + getClass().getName() + " <executable> <core> [server id]");
  35     System.out.println("\"pid\" must be the process ID of a HotSpot process.");
  36     System.out.println("If reading a core file, \"executable\" must (currently) be the");
  37     System.out.println("full path name to the precise java executable which generated");
  38     System.out.println("the core file (not, on Solaris, the \"java\" wrapper script in");
  39     System.out.println("the \"bin\" subdirectory of the JDK.)");
  40     System.out.println("The \"server id\" is a unique name for a specific remote debuggee.");
  41     System.exit(1);
  42   }
  43 
  44   public static void main(String[] args) {
  45     new DebugServer().run(args);
  46   }
  47 


agent/src/share/classes/sun/jvm/hotspot/DebugServer.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File