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

Re: [rvm-research] Find a Compiled Method

by Alejandro Taboada :: Rate this Message:

Reply to Author | View in Thread

Thanks! I already fix it! :)



On Tue, Jun 23, 2009 at 10:54 PM, David P Grove <groved@...> wrote:

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




--
Alejandro Taboada (ataboada@...)

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

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

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