Re: [rvm-research] Adding new method to EntryPoints.java
Khaled Z Mahmoud <[email protected]> Wed, 19 Sep 2018 03:29:50 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAER=_eWoLQbJY98KqCn1bVhfyC6TBTew2Z9GvEwkszec7-J_Jg@mail.gmail.com> |
--===============0827317904400751953== Content-Type: multipart/alternative; boundary="000000000000287f430576345f6d" --000000000000287f430576345f6d Content-Type: text/plain; charset="UTF-8" Please ignore the above message ... Sent by mistake while writing the original email On Wed, Sep 19, 2018 at 3:18 AM, Khaled Z Mahmoud <[email protected]> wrote: > Hi, > > I added a new method to EntryPoint as below: > > public static final NormalMethod custom_yieldMethod = > getMethod(org.jikesrvm.scheduler.RVMThread.class, "custom_yield", > "()V"); > > Then, I inserted a call to this method from the baseline compiler as below: > > > -- > Regards, > Khaled Mahmoud > -- Regards, Khaled Mahmoud --000000000000287f430576345f6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Please ignore the above message ... Sent by mistake while = writing the original email<br></div><div class=3D"gmail_extra"><br><div cla= ss=3D"gmail_quote">On Wed, Sep 19, 2018 at 3:18 AM, Khaled Z Mahmoud <span = dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>></span> wrote:<br><blockquote class=3D"gma= il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef= t:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>= I added a new method to EntryPoint as below:</div><div><br></div><div>=C2= =A0public static final NormalMethod custom_yieldMethod =3D<br>=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 getMethod(org.jikesrvm.<wbr>scheduler.RVMThread.class, &= quot;custom_yield", "()V");</div><div><br></div><div>Then, I= inserted a call to this method from the baseline compiler as below:</div><= span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div><br>-- <b= r><div class=3D"m_-5048548152279125853gmail_signature"><div dir=3D"ltr">Reg= ards,<div>Khaled Mahmoud</div></div></div> </div></font></span></div></div> </blockquote></div><br><br clear=3D"all"><br>-- <br><div class=3D"gmail_sig= nature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Regards,<div>Kh= aled Mahmoud</div></div></div> </div> --000000000000287f430576345f6d-- --===============0827317904400751953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0827317904400751953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers --===============0827317904400751953==--