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 17:25:57 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAEgWMOMaAkCRu47vmfckYSdRUTM4tpzPi-fZ6pfaLP4iNO6e=Q@mail.gmail.com>
--===============8143026089818945050==
Content-Type: multipart/alternative; boundary="00000000000076713f057978d521"

--00000000000076713f057978d521
Content-Type: text/plain; charset="UTF-8"

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]>
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 [email protected]://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>
>
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>

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

<div dir=3D"ltr">Hi Michael,<div><br></div><div>Thank you about the directi=
on and the link.=C2=A0</div><div>I just compiled and checked that the metho=
d works.=C2=A0</div><div><br></div><div><br></div><div>Thanks,<br><div><br =
clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmai=
l=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><table border=3D"0" cellpad=
ding=3D"0" width=3D"450" style=3D"border-spacing:0px;border-collapse:collap=
se;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;line-he=
ight:20px;table-layout:fixed;background-color:transparent"><tbody><tr><td a=
lign=3D"left" nowrap width=3D"383" style=3D"padding:0px"><table border=3D"0=
" cellpadding=3D"0" width=3D"450" style=3D"border-spacing:0px;border-collap=
se:collapse;font-family:Lato,Arial,San-serif;table-layout:fixed;background-=
color:transparent"><tbody><tr><td align=3D"left" nowrap width=3D"383" style=
=3D"padding:0px"><p style=3D"margin:0px 0px 10px;font-family:Helvetica,Aria=
l,sans-serif;line-height:12px;color:rgb(33,33,33)"><span style=3D"font-size=
:10px"><b>Chang Min Park</b>=C2=A0</span><span style=3D"font-size:10px">/=
=C2=A0</span><i style=3D"font-size:10px">Computer Science=C2=A0</i><br><spa=
n style=3D"font-size:10px">(716)598-7331</span></p></td></tr></tbody></tabl=
e><table border=3D"0" cellpadding=3D"0" width=3D"450" style=3D"border-spaci=
ng:0px;border-collapse:collapse;font-family:Lato,Arial,San-serif;table-layo=
ut:fixed;background-color:transparent"><tbody><tr><td align=3D"left" valign=
=3D"top" width=3D"77" style=3D"padding:0px"><br></td><td align=3D"left" now=
rap width=3D"383" style=3D"padding:0px"></td></tr></tbody></table><p style=
=3D"margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;line-height:=
12px;color:rgb(33,33,33)"></p></td></tr></tbody></table><table border=3D"0"=
 cellpadding=3D"0" width=3D"450" style=3D"border-spacing:0px;border-collaps=
e:collapse;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px=
;line-height:20px;table-layout:fixed;background-color:transparent"><tbody><=
tr><td align=3D"left" valign=3D"top" width=3D"77" style=3D"padding:0px"><br=
></td><td align=3D"left" nowrap width=3D"383" style=3D"padding:0px"><p styl=
e=3D"margin:0px 0px 10px;font-size:0px;line-height:0;font-family:Helvetica,=
Arial,sans-serif"><span style=3D"white-space:nowrap"><img src=3D"https://s3=
.amazonaws.com/htmlsig-assets/spacer.gif" width=3D"2" style=3D"border:0px;v=
ertical-align:middle">=C2=A0</span></p></td></tr></tbody></table><div><br><=
/div></div></div></div></div></div></div></div></div></div></div><br></div>=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Oct 30,=
 2018 at 1:48 PM Michael Bond &lt;<a href=3D"mailto:[email protected]=
.edu">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hi Chang Min,<br>
    <br>
    The User Guide (<a class=3D"m_605045456096807858moz-txt-link-freetext" =
href=3D"https://www.jikesrvm.org/UserGuide/" target=3D"_blank">https://www.=
jikesrvm.org/UserGuide/</a>) covers how to
    get started modifying Jikes RVM and Jikes-specific concepts like the
    @Uninterruptible annotation.<br>
    <br>
    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.)<br>
    <br>
    Cheers,<br>
    Mike<br>
    <br>
    <br>
    <div class=3D"m_605045456096807858moz-cite-prefix">On 10/29/18 7:02 PM,=
 Chang Min Park
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr">Hi,
        <div><br>
        </div>
        <div>I&#39;m a Ph.D. student in University at Buffalo in New York.=
=C2=A0</div>
        <div>I&#39;m doing a research on Immix Garbage Collection.</div>
        <div><br>
        </div>
        <div>I want to debug <b>rvm</b>=C2=A0and <b>Immix GC</b> how they
          actually works in runtime.=C2=A0</div>
        <div>Because of notation=C2=A0@uninterruptible on all classes, I
          cannot print string.=C2=A0</div>
        <div>1. So, I commented out all the uninterruptible notations
          and tried to print string, but it gives stack pointer error in
          runtime.=C2=A0</div>
        <div>2. I also cloned <b>rdb</b>, and I got an error while
          building. I assume that is because the repository wasn&#39;t
          updated since 2014.=C2=A0</div>
        <div>3. I also tried <b>java.util.logging</b> to log while
          runtime, but it also gives same error as regular printing.</div>
        <div><br>
        </div>
        <div>Is there any easy way to see how <b>rvm</b> actually works
          in runtime?</div>
        <div>(I want to see all classes, methods, and variables
          appearing in runtime)</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br clear=3D"all">
          <div>
            <div dir=3D"ltr" class=3D"m_605045456096807858gmail_signature" =
data-smartmail=3D"gmail_signature">
              <div dir=3D"ltr">
                <div>
                  <div dir=3D"ltr">
                    <div>
                      <div dir=3D"ltr">
                        <div>
                          <div dir=3D"ltr">
                            <div dir=3D"ltr">
                              <table style=3D"border-spacing:0px;border-col=
lapse:collapse;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:=
14px;line-height:20px;table-layout:fixed;background-color:transparent" widt=
h=3D"450" cellpadding=3D"0" border=3D"0">
                                <tbody>
                                  <tr>
                                    <td style=3D"padding:0px" width=3D"383"=
 nowrap align=3D"left">
                                      <table style=3D"border-spacing:0px;bo=
rder-collapse:collapse;font-family:Lato,Arial,San-serif;table-layout:fixed;=
background-color:transparent" width=3D"450" cellpadding=3D"0" border=3D"0">
                                        <tbody>
                                          <tr>
                                            <td style=3D"padding:0px" width=
=3D"383" nowrap align=3D"left">
                                              <p style=3D"margin:0px 0px 10=
px;font-family:Helvetica,Arial,sans-serif;line-height:12px;color:rgb(33,33,=
33)"><span style=3D"font-size:10px"><b>Chang
                                                    Min Park</b>=C2=A0</spa=
n><span style=3D"font-size:10px">/=C2=A0</span><i style=3D"font-size:10px">=
Computer
                                                  Science=C2=A0</i><br>
                                                <span style=3D"font-size:10=
px">(716)598-7331</span></p>
                                              <p style=3D"margin:0px 0px 10=
px;font-family:Helvetica,Arial,sans-serif;line-height:12px;color:rgb(33,33,=
33)"><span style=3D"font-size:10px"><br>
                                                </span></p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                      <table style=3D"border-spacing:0px;bo=
rder-collapse:collapse;font-family:Lato,Arial,San-serif;table-layout:fixed;=
background-color:transparent" width=3D"450" cellpadding=3D"0" border=3D"0">
                                        <tbody>
                                          <tr>
                                            <td style=3D"padding:0px" width=
=3D"77" valign=3D"top" align=3D"left"><br>
                                            </td>
                                            <td style=3D"padding:0px" width=
=3D"383" nowrap align=3D"left"><br>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <table style=3D"border-spacing:0px;border-col=
lapse:collapse;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:=
14px;line-height:20px;table-layout:fixed;background-color:transparent" widt=
h=3D"450" cellpadding=3D"0" border=3D"0">
                                <tbody>
                                  <tr>
                                    <td style=3D"padding:0px" width=3D"77" =
valign=3D"top" align=3D"left"><br>
                                    </td>
                                    <td style=3D"padding:0px" width=3D"383"=
 nowrap align=3D"left">
                                      <p style=3D"margin:0px 0px 10px;font-=
size:0px;line-height:0;font-family:Helvetica,Arial,sans-serif"><span style=
=3D"white-space:nowrap"><img src=3D"https://s3.amazonaws.com/htmlsig-assets=
/spacer.gif" style=3D"border:0px;vertical-align:middle" width=3D"2">=C2=A0<=
/span></p>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <div><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class=3D"m_605045456096807858mimeAttachmentHeader"></fields=
et>
      <br>
      <fieldset class=3D"m_605045456096807858mimeAttachmentHeader"></fields=
et>
      <pre class=3D"m_605045456096807858moz-quote-pre">____________________=
___________________________
Jikesrvm-researchers mailing list
<a class=3D"m_605045456096807858moz-txt-link-abbreviated" href=3D"mailto:Ji=
[email protected]" target=3D"_blank">Jikesrvm-resear=
[email protected]</a>
<a class=3D"m_605045456096807858moz-txt-link-freetext" href=3D"https://list=
s.sourceforge.net/lists/listinfo/jikesrvm-researchers" target=3D"_blank">ht=
tps://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Jikesrvm-researchers mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/jikesrvm-researcher=
s" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists=
/listinfo/jikesrvm-researchers</a><br>
</blockquote></div>

--00000000000076713f057978d521--


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


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

--===============8143026089818945050==--