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 <<a h= ref=3D"mailto:[email protected]">[email protected]</a>> 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's pure java, you can use profiling tools, debuggers etc, and= <br> there are trace options that will tell you what's going on in <br> excruciating detail.<br> <br> cheers<br> <br> On 31/10/18 8:25 am, Chang Min Park wrote:<br> > Hi Michael,<br> ><br> > Thank you about the direction and the link.<br> > I just compiled and checked that the method works.<br> ><br> ><br> > Thanks,<br> ><br> > *Chang Min Park* / /Computer Science /<br> > (716)598-7331<br> ><br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0<br> ><br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0<br> ><br> ><br> ><br> ><br> > On Tue, Oct 30, 2018 at 1:48 PM Michael Bond <br> > <<a href=3D"mailto:[email protected]" target=3D"_blank" r= el=3D"noreferrer">[email protected]</a> <mailto:<a href=3D"mai= lto:[email protected]" target=3D"_blank" rel=3D"noreferrer">mikeb= [email protected]</a>>> wrote:<br> ><br> >=C2=A0 =C2=A0 =C2=A0Hi Chang Min,<br> ><br> >=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> >=C2=A0 =C2=A0 =C2=A0get started modifying Jikes RVM and Jikes-specific = concepts like<br> >=C2=A0 =C2=A0 =C2=A0the @Uninterruptible annotation.<br> ><br> >=C2=A0 =C2=A0 =C2=A0To print from an uninterruptible method, use the<br= > >=C2=A0 =C2=A0 =C2=A0org.jikesrvm.VM.sysWriteln() methods. (To print fro= m<br> >=C2=A0 =C2=A0 =C2=A0uninterruptible methods in MMTk, use the<br> >=C2=A0 =C2=A0 =C2=A0org.mmtk.utility.Log.writeln() methods.)<br> ><br> >=C2=A0 =C2=A0 =C2=A0Cheers,<br> >=C2=A0 =C2=A0 =C2=A0Mike<br> ><br> ><br> >=C2=A0 =C2=A0 =C2=A0On 10/29/18 7:02 PM, Chang Min Park wrote:<br> >>=C2=A0 =C2=A0 =C2=A0Hi,<br> >><br> >>=C2=A0 =C2=A0 =C2=A0I'm a Ph.D. student in University at Buffal= o in New York.<br> >>=C2=A0 =C2=A0 =C2=A0I'm doing a research on Immix Garbage Colle= ction.<br> >><br> >>=C2=A0 =C2=A0 =C2=A0I want to debug *rvm*=C2=A0and *Immix GC* how t= hey actually works in<br> >>=C2=A0 =C2=A0 =C2=A0runtime.<br> >>=C2=A0 =C2=A0 =C2=A0Because of notation=C2=A0@uninterruptible on al= l classes, I cannot<br> >>=C2=A0 =C2=A0 =C2=A0print string.<br> >>=C2=A0 =C2=A0 =C2=A01. So, I commented out all the uninterruptible = notations and<br> >>=C2=A0 =C2=A0 =C2=A0tried to print string, but it gives stack point= er error in runtime.<br> >>=C2=A0 =C2=A0 =C2=A02. I also cloned *rdb*, and I got an error whil= e building. I<br> >>=C2=A0 =C2=A0 =C2=A0assume that is because the repository wasn'= t updated since 2014.<br> >>=C2=A0 =C2=A0 =C2=A03. I also tried *java.util.logging* to log whil= e runtime, but it<br> >>=C2=A0 =C2=A0 =C2=A0also gives same error as regular printing.<br> >><br> >>=C2=A0 =C2=A0 =C2=A0Is there any easy way to see how *rvm* actually= works in runtime?<br> >>=C2=A0 =C2=A0 =C2=A0(I want to see all classes, methods, and variab= les appearing in<br> >>=C2=A0 =C2=A0 =C2=A0runtime)<br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0Thanks,<br> >><br> >>=C2=A0 =C2=A0 =C2=A0*Chang Min Park* / /Computer Science /<br> >>=C2=A0 =C2=A0 =C2=A0(716)598-7331<br> >><br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0_______________________________________________= <br> >>=C2=A0 =C2=A0 =C2=A0Jikesrvm-researchers mailing list<br> >>=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 <mailto:<a href=3D"mailto:Jikesrvm-researc= [email protected]" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-r= [email protected]</a>><br> >>=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> ><br> >=C2=A0 =C2=A0 =C2=A0_______________________________________________<br> >=C2=A0 =C2=A0 =C2=A0Jikesrvm-researchers mailing list<br> >=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> >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mailto:Jikesrvm-researchers@l= ists.sourceforge.net" target=3D"_blank" rel=3D"noreferrer">Jikesrvm-researc= [email protected]</a>><br> >=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> ><br> ><br> ><br> > _______________________________________________<br> > Jikesrvm-researchers mailing list<br> > <a href=3D"mailto:[email protected]" target= =3D"_blank" rel=3D"noreferrer">[email protected]</= a><br> > <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==--