aboutsummaryrefslogtreecommitdiff
path: root/src/share/demo/jvmti/hprof/hprof_cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/demo/jvmti/hprof/hprof_cpu.c')
-rw-r--r--src/share/demo/jvmti/hprof/hprof_cpu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/demo/jvmti/hprof/hprof_cpu.c b/src/share/demo/jvmti/hprof/hprof_cpu.c
index 77262898e6..358b478486 100644
--- a/src/share/demo/jvmti/hprof/hprof_cpu.c
+++ b/src/share/demo/jvmti/hprof/hprof_cpu.c
@@ -29,6 +29,15 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * 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.
+ */
+
+
#include "hprof.h"
/* This file contains the cpu loop for the option cpu=samples */