« Return to Thread: [rvm-research] Find a Compiled Method

Re: [rvm-research] Find a Compiled Method

by David P Grove :: Rate this Message:

Reply to Author | View in Thread

Alejandro Taboada <ataboada@...> wrote on 06/23/2009 12:48:16 AM:
>
> For now I'm using VM_EntrypointHelper.getCompiledMethod(clazz,
> allocMethodName, allocMethodDescriptor); but this only works for
> internal methods.

You might want to take at look at org.jikesrvm.compilers.common.CompiledMethods.  This class holds pointers to all compiled methods in the system, so you could do a fairly straightforward iteration over the CompiledMethod objects comparing their Method object to the one you are looking for.

--dave

------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

 « Return to Thread: [rvm-research] Find a Compiled Method