jdk-24/hotspot/agent/test/jdi
Erik Trimble ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
..
jstack64.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
jstack.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
multivm.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
multivm.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
README.jjh Initial load 2007-12-01 00:00:00 +00:00
runjdb.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
runjpda.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
runsa.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
sagclient.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
sagdoit.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
sagtarg.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
sagtest.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
sasanity.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
SASanityChecker.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
serialvm.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
serialvm.sh 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
TargetAdapter.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
TargetListener.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
TEST.ROOT 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
TestScaffold.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00
VMConnection.java 6941466: Oracle rebranding changes for Hotspot repositories 2010-05-27 19:08:38 -07:00

This dir contains a test for the JDI-SA implementation.

sagtest.java, sagtarg.java are a normal JDI regression test
that uses TargetAdapter.java, TargetListener.java,  TestScaffold.java,
and VMConnection.java.

This test starts the debuggee, sagtarg.java, which just does a wait.
The test then calls sagdoit.java which calls all the JDJI interface
functions.  Well, it doesn't call them all yet, but that is the plan.
At least all that are interesting to the JDI-SA client. The result of
each call is sent to stdout

The script runjpda.sh runs this test.  It then runs the targ part of
the test and calls gcore on it to get a core dump into file sagcore.
Do
        runjpda.sh >& kk

to run this.  

        NOTE that this produces 1000s of lines of output
        so be sure to redirect to a file.

File sagclient.java is a test program that uses the JDI-SA
client to connect to a core file or pid and then calls sagdoit
which calls the JDI methods.

The script runsa.sh can be used to run sagclient on sagcore:
        runsa.sh sagcore >& kk1

You can then look at the differences between the runjpda.sh 
and the runsa.sh run to see if there are bugs.  Note that the
order of things might be different.


-----------------------------------------

runjdb.sh contains a script that will run jdb on a core file
using the JDI-sa binding.