harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Levchenko" <vasily.v.levche...@gmail.com>
Subject Re: [drlvm][jvmti] do threads started by jvmtiRunAgentThread() only run in native mode?
Date Sun, 26 Aug 2007 02:50:26 GMT
Does "only" have any sense in this context? JVMTI agent is piece of native
code, so you have possibility
to  start any kind of native thread (pthread or win32). "However, the
created thread does require a
newly created instance of java.lang.Thread (referenced by the argument
thread) to which it will be associated" is
the next sentence  after  sentence with "can" ;). That mean that the
difference between new created thread via OS thread
library and jvmtiRunAgentThread is in readiness to work with java world from
the beginning.

On 8/25/07, Weldon Washburn <weldonwjw@gmail.com> wrote:
>
> 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
>



-- 
--vvl

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message