This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] Skeletal JVMTI support
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 20 Jul 2006 11:33:17 -0600
- Subject: Re: [RFA] Skeletal JVMTI support
- References: <44BEC904.70201@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> The following patch adds bare-minimum, does-nothing JVMTI support to
Keith> GIJ, including support for fetching a JVMTI environment. I've
Keith> basically followed the lead set by JVMPI. [I will also commit the
Keith> jvmti.h patch approved yesterday at this time.]
Looks good to me, thanks.
Keith> +_Jv_JVMTIEnv *
Keith> +_Jv_GetJVMTIEnv (void)
Keith> +{
Keith> + _Jv_JVMTIEnv *env
Keith> + = (_Jv_JVMTIEnv *) _Jv_MallocUnchecked (sizeof (_Jv_JVMTIEnv));
Keith> + env->p = &_Jv_JVMTI_Interface;
Keith> + return env;
We want to make a new one each time?
(I know zero about jvmti, this just seemed a little odd.)
Tom