jdk-24/jdk/make/mkdemo/jvmti
Daniel D. Daugherty 5017ee9fdb 7071907: JDK: Full Debug Symbols
Add initial FDS support to some libraries and programs.

Reviewed-by: kamg, fparain, sspitsyn, dsamersoff
2012-04-11 07:26:35 -07:00
..
compiledMethodLoad 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
gctest 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
heapTracker 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
heapViewer 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
hprof 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
minst 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
mtrace 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
versionCheck 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
waiters 7071907: JDK: Full Debug Symbols 2012-04-11 07:26:35 -07:00
Makefile 7033660: Update copyright year to 2011 on any files changed in 2011 2011-04-06 22:06:11 -07:00
mapfile-vers 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
README.txt 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00

#
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

Instructions on adding a jvmti demo agent.

Basically you want to mimic the jvmti demo agent "mtrace".

* Create and populate a source directory at src/share/demo/jvmti
  (Try and re-use code in agent_util area like src/share/demo/jvmti/mtrace)
  (This should include a small README.txt document on what this demo is)

* Make sure the appropriate "demo" copyright notice is added to all the
  source files.

* Edit src/share/demo/jvmti/index.html and add in reference to this demo.

* Create make directory at make/mkdemo/jvmti
  (Mimic make/mkdemo/jvmti/mtrace/Makefile)

* Edit make/mkdemo/jvmti/Makefile and add in the new demo

* Create test directory at test/demo/jvmti, create at least one test
  (Use test/demo/jvmti/mtrace as a template)

* Don't forget to check in all the new files

* Build and create images (cd make && gnumake && gnumake images)
  (Do this on Solaris, Linux, and at least one Windows platform)

* Verify that browsing build/*/j2sdk-images/demo/jvmti looks right

* Run the tests: cd test/demo/jvmti && runregress .
  (Do this on Solaris, Linux, and at least one Windows platform)

Contact: serviceability-dev@openjdk.java.net for more information or help.