[RFA] Skeletal JVMTI support

Tom Tromey tromey@redhat.com
Thu Jul 20 17:37:00 GMT 2006


>>>>> "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



More information about the Java-patches mailing list