aboutsummaryrefslogtreecommitdiff
path: root/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js')
-rw-r--r--src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js b/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js
index 831377dee1..2114b6e09e 100644
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js
@@ -30,6 +30,15 @@
*/
/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
* This file defines 'jstack' function to print stack traces of
* threads.'jstack' function which can be called once or periodically
* from a timer thread (calling it periodically would slow down the target