[rvm-research] Adding new method to EntryPoints.java
Khaled Z Mahmoud <[email protected]> Wed, 19 Sep 2018 03:18:55 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAER=_eWj=_q-Ai7-EEcrn-TQG2_bOEuzd-YNVgUBK5jHHXHOvg@mail.gmail.com> |
--===============4081816446892519929==
Content-Type: multipart/alternative; boundary="0000000000002a0dfe0576343879"
--0000000000002a0dfe0576343879
Content-Type: text/plain; charset="UTF-8"
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
--0000000000002a0dfe0576343879
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<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.scheduler.RVMThread.class, "custom_yi=
eld", "()V");</div><div><br></div><div>Then, I inserted a ca=
ll to this method from the baseline compiler as below:</div><div><br></div>=
<div><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr">Regards,<di=
v>Khaled Mahmoud</div></div></div>
</div></div></div>
--0000000000002a0dfe0576343879--
--===============4081816446892519929==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============4081816446892519929==
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
--===============4081816446892519929==--