harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk" <ilya.berezhn...@gmail.com>
Subject Re: [drlvm][jvmti] do threads started by jvmtiRunAgentThread() only run in native mode?
Date Sat, 25 Aug 2007 14:11:43 GMT
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.

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
>

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