1.1 --- a/src/share/vm/services/attachListener.cpp Thu Jan 05 17:16:13 2012 -0500 1.2 +++ b/src/share/vm/services/attachListener.cpp Mon Jan 09 10:27:24 2012 +0100 1.3 @@ -99,6 +99,7 @@ 1.4 } 1.5 1.6 // Implementation of "properties" command. 1.7 +// See also: PrintSystemPropertiesDCmd class 1.8 static jint get_system_properties(AttachOperation* op, outputStream* out) { 1.9 return get_properties(op, out, vmSymbols::serializePropertiesToByteArray_name()); 1.10 } 1.11 @@ -127,6 +128,7 @@ 1.12 } 1.13 1.14 // Implementation of "threaddump" command - essentially a remote ctrl-break 1.15 +// See also: ThreadDumpDCmd class 1.16 // 1.17 static jint thread_dump(AttachOperation* op, outputStream* out) { 1.18 bool print_concurrent_locks = false; 1.19 @@ -158,6 +160,7 @@ 1.20 DCmd::parse_and_execute(out, op->arg(0), ' ', THREAD); 1.21 if (HAS_PENDING_EXCEPTION) { 1.22 java_lang_Throwable::print(PENDING_EXCEPTION, out); 1.23 + out->cr(); 1.24 CLEAR_PENDING_EXCEPTION; 1.25 // The exception has been printed on the output stream 1.26 // If the JVM returns JNI_ERR, the attachAPI throws a generic I/O 1.27 @@ -169,6 +172,7 @@ 1.28 1.29 #ifndef SERVICES_KERNEL // Heap dumping not supported 1.30 // Implementation of "dumpheap" command. 1.31 +// See also: HeapDumpDCmd class 1.32 // 1.33 // Input arguments :- 1.34 // arg0: Name of the dump file 1.35 @@ -211,6 +215,7 @@ 1.36 #endif // SERVICES_KERNEL 1.37 1.38 // Implementation of "inspectheap" command 1.39 +// See also: ClassHistogramDCmd class 1.40 // 1.41 // Input arguments :- 1.42 // arg0: "-live" or "-all" 1.43 @@ -354,6 +359,7 @@ 1.44 } 1.45 1.46 // Implementation of "printflag" command 1.47 +// See also: PrintVMFlagsDCmd class 1.48 static jint print_flag(AttachOperation* op, outputStream* out) { 1.49 const char* name = NULL; 1.50 if ((name = op->arg(0)) == NULL) {