Re: [rvm-research] [Jikes RVM-Debugging ] Hi all, I'm doing a research on Immix garbage collection using Jikes RVM.

Chang Min Park <[email protected]> Tue, 30 Oct 2018 19:41:44 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAEgWMOOddxF3yfG1RcTa+G_y0ZSfOUvxiqQuG1ZvxgPkQA8U1g@mail.gmail.com>
--===============7234855752491149513==
Content-Type: multipart/alternative; boundary="0000000000002c144205797abb8b"

--0000000000002c144205797abb8b
Content-Type: text/plain; charset="UTF-8"

Hi Robin,

Thanks for the hint! I will look into the parts you mentioned.


Thanks,
Chang Min Park.


On Tue, Oct 30, 2018, 7:37 PM Robin Garner <[email protected]> wrote:

> Also take a look at the MMTk Debugging Harness.
>
> Because it's pure java, you can use profiling tools, debuggers etc, and
> there are trace options that will tell you what's going on in
> excruciating detail.
>
> cheers
>
> On 31/10/18 8:25 am, Chang Min Park wrote:
> > Hi Michael,
> >
> > Thank you about the direction and the link.
> > I just compiled and checked that the method works.
> >
> >
> > Thanks,
> >
> > *Chang Min Park* / /Computer Science /
> > (716)598-7331
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Oct 30, 2018 at 1:48 PM Michael Bond
> > <[email protected] <mailto:[email protected]>>
> wrote:
> >
> >     Hi Chang Min,
> >
> >     The User Guide (https://www.jikesrvm.org/UserGuide/) covers how to
> >     get started modifying Jikes RVM and Jikes-specific concepts like
> >     the @Uninterruptible annotation.
> >
> >     To print from an uninterruptible method, use the
> >     org.jikesrvm.VM.sysWriteln() methods. (To print from
> >     uninterruptible methods in MMTk, use the
> >     org.mmtk.utility.Log.writeln() methods.)
> >
> >     Cheers,
> >     Mike
> >
> >
> >     On 10/29/18 7:02 PM, Chang Min Park wrote:
> >>     Hi,
> >>
> >>     I'm a Ph.D. student in University at Buffalo in New York.
> >>     I'm doing a research on Immix Garbage Collection.
> >>
> >>     I want to debug *rvm* and *Immix GC* how they actually works in
> >>     runtime.
> >>     Because of notation @uninterruptible on all classes, I cannot
> >>     print string.
> >>     1. So, I commented out all the uninterruptible notations and
> >>     tried to print string, but it gives stack pointer error in runtime.
> >>     2. I also cloned *rdb*, and I got an error while building. I
> >>     assume that is because the repository wasn't updated since 2014.
> >>     3. I also tried *java.util.logging* to log while runtime, but it
> >>     also gives same error as regular printing.
> >>
> >>     Is there any easy way to see how *rvm* actually works in runtime?
> >>     (I want to see all classes, methods, and variables appearing in
> >>     runtime)
> >>
> >>
> >>     Thanks,
> >>
> >>     *Chang Min Park* / /Computer Science /
> >>     (716)598-7331
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>     _______________________________________________
> >>     Jikesrvm-researchers mailing list
> >>     [email protected]  <mailto:
> [email protected]>
> >>     https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
> >
> >     _______________________________________________
> >     Jikesrvm-researchers mailing list
> >     [email protected]
> >     <mailto:[email protected]>
> >     https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
> >
> >
> >
> > _______________________________________________
> > Jikesrvm-researchers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>

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

<div dir=3D"auto"><div>Hi Robin,<div dir=3D"auto"><br></div><div dir=3D"aut=
o">Thanks for the hint! I will look into the parts you mentioned.</div><div=
 dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Thank=
s,</div><div dir=3D"auto">Chang Min Park.</div><br><br><div class=3D"gmail_=
quote"><div dir=3D"ltr">On Tue, Oct 30, 2018, 7:37 PM Robin Garner &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">Also take a look at the MMTk Debug=
ging Harness.<br>
<br>
Because it&#39;s pure java, you can use profiling tools, debuggers etc, and=
 <br>
there are trace options that will tell you what&#39;s going on in <br>
excruciating detail.<br>
<br>
cheers<br>
<br>
On 31/10/18 8:25 am, Chang Min Park wrote:<br>
&gt; Hi Michael,<br>
&gt;<br>
&gt; Thank you about the direction and the link.<br>
&gt; I just compiled and checked that the method works.<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; *Chang Min Park* / /Computer Science /<br>
&gt; (716)598-7331<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Oct 30, 2018 at 1:48 PM Michael Bond <br>
&gt; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank" r=
el=3D"noreferrer">[email protected]</a> &lt;mailto:<a href=3D"mai=
lto:[email protected]" target=3D"_blank" rel=3D"noreferrer">mikeb=
[email protected]</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0Hi Chang Min,<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The User Guide (<a href=3D"https://www.jikesrvm.org=
/UserGuide/" rel=3D"noreferrer noreferrer" target=3D"_blank">https://www.ji=
kesrvm.org/UserGuide/</a>) covers how to<br>
&gt;=C2=A0 =C2=A0 =C2=A0get started modifying Jikes RVM and Jikes-specific =
concepts like<br>
&gt;=C2=A0 =C2=A0 =C2=A0the @Uninterruptible annotation.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0To print from an uninterruptible method, use the<br=
>
&gt;=C2=A0 =C2=A0 =C2=A0org.jikesrvm.VM.sysWriteln() methods. (To print fro=
m<br>
&gt;=C2=A0 =C2=A0 =C2=A0uninterruptible methods in MMTk, use the<br>
&gt;=C2=A0 =C2=A0 =C2=A0org.mmtk.utility.Log.writeln() methods.)<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0Cheers,<br>
&gt;=C2=A0 =C2=A0 =C2=A0Mike<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0On 10/29/18 7:02 PM, Chang Min Park wrote:<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0Hi,<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0I&#39;m a Ph.D. student in University at Buffal=
o in New York.<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0I&#39;m doing a research on Immix Garbage Colle=
ction.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0I want to debug *rvm*=C2=A0and *Immix GC* how t=
hey actually works in<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0runtime.<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0Because of notation=C2=A0@uninterruptible on al=
l classes, I cannot<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0print string.<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A01. So, I commented out all the uninterruptible =
notations and<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0tried to print string, but it gives stack point=
er error in runtime.<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A02. I also cloned *rdb*, and I got an error whil=
e building. I<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0assume that is because the repository wasn&#39;=
t updated since 2014.<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A03. I also tried *java.util.logging* to log whil=
e runtime, but it<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0also gives same error as regular printing.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0Is there any easy way to see how *rvm* actually=
 works in runtime?<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0(I want to see all classes, methods, and variab=
les appearing in<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0runtime)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0Thanks,<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0*Chang Min Park* / /Computer Science /<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0(716)598-7331<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0_______________________________________________=
<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0Jikesrvm-researchers mailing list<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:[email protected]=
urceforge.net" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-researchers@li=
sts.sourceforge.net</a>=C2=A0 &lt;mailto:<a href=3D"mailto:Jikesrvm-researc=
[email protected]" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-r=
[email protected]</a>&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0<a href=3D"https://lists.sourceforge.net/lists/=
listinfo/jikesrvm-researchers" rel=3D"noreferrer noreferrer" target=3D"_bla=
nk">https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers</a><b=
r>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0_______________________________________________<br>
&gt;=C2=A0 =C2=A0 =C2=A0Jikesrvm-researchers mailing list<br>
&gt;=C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:[email protected]=
forge.net" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-researchers@lists.=
sourceforge.net</a><br>
&gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:Jikesrvm-researchers@l=
ists.sourceforge.net" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-researc=
[email protected]</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0<a href=3D"https://lists.sourceforge.net/lists/list=
info/jikesrvm-researchers" rel=3D"noreferrer noreferrer" target=3D"_blank">=
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Jikesrvm-researchers mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]</=
a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/jikesrvm-resea=
rchers" rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourc=
eforge.net/lists/listinfo/jikesrvm-researchers</a><br>
</blockquote></div></div></div>

--0000000000002c144205797abb8b--


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


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

--===============7234855752491149513==--