harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weldon Washburn" <weldon...@gmail.com>
Subject Re: [drlvm][jvmti] do threads started by jvmtiRunAgentThread() only run in native mode?
Date Sun, 26 Aug 2007 13:37:08 GMT
On 8/25/07, Ilya Berezhniuk <ilya.berezhniuk@gmail.com> wrote:
> I think definitely no.
> Spec means that entry point for starting thread is an address in native
> code, and creating Java object for this thread is not required.
> Spec does not deny calling JNI or JVMTI functions from agent thread.
Good point.  I think this is the right analysis. We need to be
prepared if this jvmti thread decides to call java code via JNI
functions.


>
> BTW, Harmony's implementation of JVMTI can involve calling Java code (if it'
> was not fixed already).
>
> --
>
> Ilya
>
>
> 2007/8/25, Weldon Washburn <weldonwjw@gmail.com>:
> >
> > Does anyone know if these threads need to run java code?  The spec is
> > vague.  The spec says, "...the created thread can run entirely in
> > native code."  Does the spec really mean "only" instead of "can"?
> >
> > --
> > Weldon Washburn
> >
>


-- 
Weldon Washburn

Mime
View raw message