aboutsummaryrefslogtreecommitdiff
path: root/src/share/demo/jvmti/hprof/debug_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/demo/jvmti/hprof/debug_malloc.c')
-rw-r--r--src/share/demo/jvmti/hprof/debug_malloc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/demo/jvmti/hprof/debug_malloc.c b/src/share/demo/jvmti/hprof/debug_malloc.c
index ea7fecece6..a0155c0588 100644
--- a/src/share/demo/jvmti/hprof/debug_malloc.c
+++ b/src/share/demo/jvmti/hprof/debug_malloc.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.
+ */
+
+
/* **************************************************************************
*
* Set of malloc/realloc/calloc/strdup/free replacement macros that