This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Skeletal JVMTI support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]