harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [DRLVM] -- JVMTI support?
Date Fri, 12 May 2006 22:08:08 GMT
On Friday 12 May 2006 22:18 Elford, Chris L wrote:
> Hi all,
>
>   I was working with the version of DRLVM that I compiled off of
> JIRA-438.  I tried it with a JVMTI agent using -agentlib:...  It looks
> like this version gives Class Load events.  According to JVMTI, loading
> eclipse loads 4,189 classes.
>
>   I'm not seeing any Method Load Events though.  Has anyone else tried
> JIRA-438 with JVMTI and seen more events?

If you mean CompiledMethodLoad event, you may not see it since when JVMTI is 
enabled on command line (-agentlib, -agentpath or -xrun options are 
specified) then by defaul VM currently enables interpreter mode. It is made 
because JVMTI is not implemented to any usable extent in VM in JIT mode yet. 
But in interpreter mode it is already usable for simple debugging.

So if you want to see CompiledMethodLoad event you need to explicitly specify 
-Dvm.use_interpreter=false on the VM command line. This will allow you to 
receive some JIT/interpreter independent events like ClassLoad or 
ClassPrepare and several profiling related events like CompiledMethodLoad or 
DynamicCodeGenerated. If that doesn't work, let me know. It should :)

-- 
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message