diff --git a/src/jdk.hotspot.agent/doc/clhsdb.html b/src/jdk.hotspot.agent/doc/clhsdb.html index ee4b0f33d47..8c75c0cd1f5 100644 --- a/src/jdk.hotspot.agent/doc/clhsdb.html +++ b/src/jdk.hotspot.agent/doc/clhsdb.html @@ -10,26 +10,17 @@
When debugging remote core dumps it is easier to work with command line tools instead of GUI tools. Command line HSDB (CLHSDB) tool is alternative to SA GUI tool HSDB. +CLHSDB is launched from the command line using the "jhsdb clhsdb" command.
-There is also JavaScript based SA command line interface called jsdb. -But, CLHSDB supports Unix shell-like (or dbx/gdb-like) command line interface with +CLHSDB supports Unix shell-like (or dbx/gdb-like) command line interface with support for output redirection/appending (familiar >, >>), command history and so on. Each CLHSDB command can have zero or more arguments and optionally end with output redirection (or append) to a file. Commands may be stored in a file and run using source command. help command prints usage message for all supported commands (or a specific command)
-@@ -62,8 +53,6 @@-Annotated output of CLHSDB help command
intConstant [ name [ value ] ] print out hotspot integer constant(s) jdis address show bytecode disassembly of a given Method* jhisto show Java heap histogram - jseval script evaluate a given string as JavaScript code - jsload file load and evaluate a JavaScript file jstack [-v] show Java stack trace of all Java threads. -v is verbose mode livenmethods show all live nmethods longConstant [ name [ value ] ] print out hotspot long constant(s)s @@ -95,39 +84,6 @@Annotated output of CLHSDB help command
Few CLHSDB commands are already implemented in JavaScript. It is possible to extend CLHSDB command set
-by implementing more commands in a JavaScript file and by loading it by jsload command. jseval
-command may be used to evaluate arbitrary JavaScript expression from a string. Any JavaScript function
-may be exposed as a CLHSDB command by registering it using JavaScript registerCommand
-function. This function accepts command name, usage and name of the JavaScript implementation function
-as arguments.
-
-
-function helloImpl(name) {
- println("hello, " + name);
-}
-
-// register the above JavaScript function as CLHSDB command
-registerCommand("hello", "hello name", "helloImpl");
-
-
----------
-
-hsdb> jsload test.js
-
-
-
When a java process crashes in compiled method, usually a core file is saved. diff --git a/src/jdk.hotspot.agent/doc/index.html b/src/jdk.hotspot.agent/doc/index.html index fb72fd69581..24f37130e6e 100644 --- a/src/jdk.hotspot.agent/doc/index.html +++ b/src/jdk.hotspot.agent/doc/index.html @@ -35,13 +35,9 @@
-There are also command line HSDB variants ("clhsdbproc.sh" or "clhsdbwindbg.bat" -or 64-bit variants). There is also a JavaScript based command line interface -called "jsdbproc.sh" [or "jsdbwindbg.bat" or 64-bit variants]. More details on -command line interfaces can be found in +There is also a command line HSDB variant. More details on the command line interface can be found in: