[RFA] Fix JVMTI interpreted tests
Keith Seitz
keiths@redhat.com
Wed May 23 21:54:00 GMT 2007
Hi,
This patch addresses problems with the interpreted JVMTI testsuite that
have crept in over the past few months. The most notable problems show
up in the getstacktrace test, which times out during the test run.
There are a bunch of bugs that caused this, and I believe this resolves
them all.
QCC?
Keith
ChangeLog
2007-05-23 Keith Seitz <keiths@redhat.com>
* include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
one when pc_ptr is non-NULL.
* prims.cc (parse_init_args): Enable JVMTI with agentlib
and agentpath options.
* testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
parameter.
* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
Pass '-agentlib:dummyagent' when executing gij.
(gij_jvmti_run): Build dummy JVMTI agent before running tests,
and remove it when finished.
* testsuite/libjava.jvmti/dummyagent.c: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jvmti-interp.patch
Type: text/x-patch
Size: 4083 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070523/085ebb65/attachment.bin>
More information about the Java-patches
mailing list