Re: [rvm-research] Yieldpoint Current Method Question

"David P Grove" <[email protected]> Fri, 24 Aug 2018 22:04:24 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <OF712CB7F3.AB289E40-ON852582F4.000AE74D-852582F4.000B63C0@notes.na.collabserv.com>
Khaled Z Mahmoud <[email protected]> wrote on 08/24/2018 03:12:57 PM:
>
> In the RVMThread class there is a yiedpoint function.
> The question is : How do I know the method that yielded to Jikes ???
> For example, some_package.some_class.some_method_name(some_params) ???
>

Hi,

	You can inspect the stackframe from the yieldpointer handler.  Take a
look at org.jikesrvm.adaptive.measurements.listeners.MethodListener and
EdgeListener as a starting point.

--dave

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers