jdk/make/mkdemo/jvmti/README.txt
Print this page
*** 1,7 ****
#
! # Copyright 2004 Sun Microsystems, Inc. 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. Sun designates this
--- 1,7 ----
#
! # Copyright 2004-2010 Sun Microsystems, Inc. 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. Sun designates this
*** 25,36 ****
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/demo/jvmti
! (Try and re-use code in agent_util area like src/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.
--- 25,36 ----
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.
*** 42,58 ****
* 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 SCCS 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: jk-svc-group@sun.com for more information or help.
--- 42,58 ----
* 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.