[rvm-research] IR class wrap around NormalMethod

Kenan Liu via Jikesrvm-researchers <[email protected]> Wed, 24 Mar 2021 20:31:26 -0700
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CA+qhk+rHVXwHirCN5r6=BUDztCGiRmF7-2niWXxrJCkw7yTjCA@mail.gmail.com>
--===============4308338671080662951==
Content-Type: multipart/alternative; boundary="00000000000088732e05be540deb"

--00000000000088732e05be540deb
Content-Type: text/plain; charset="UTF-8"

Hi,

I have a few questions regarding the behavior after the instrumentation
inserted into the code as IR.


   - When the user-defined methods inserted into the opt compiler. Let's
   say, inserting the IR in the stage of hir2lir. Would the compiler treat
   this IR/NormalMethod as the real method? To clarify it, does this
   instrumentation would introduce the real method invocations or it would be
   inlined automatically?
   - If the IR instrumentation is treated as a method, is there any way
   that I can explicitly inline it?
   - If the answers for both questions above are no. Is there any way that
   I can add instrumentations without introducing extra method invocations?

Thanks,
Kenan
-- 
Kenan Liu
PhD Candidate in Computer Science
SUNY Binghamton

--00000000000088732e05be540deb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I have a few questions regarding th=
e behavior after the instrumentation inserted into the code as IR.<br clear=
=3D"all"><div><br></div><div><ul><li>When the user-defined methods inserted=
 into the opt compiler. Let&#39;s say, inserting the IR in the stage of hir=
2lir. Would the compiler treat this IR/NormalMethod as the real method? To =
clarify it, does this instrumentation=C2=A0would introduce the real method =
invocations or it would be inlined automatically?</li><li>If the IR instrum=
entation is treated as a method, is there any way that I can explicitly inl=
ine it?</li><li>If the answers for both questions above are no. Is there an=
y way that I can add instrumentations without introducing extra method invo=
cations?</li></ul><div>Thanks,</div></div><div>Kenan</div>-- <br><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><div><div>Kenan Liu<br></div>PhD Candidate in Computer Science<=
br></div>SUNY Binghamton<br></div></div></div></div>

--00000000000088732e05be540deb--


--===============4308338671080662951==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4308338671080662951==
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

--===============4308338671080662951==--