Re: [rvm-research] [Jikes RVM-Debugging ] Hi all, I'm doing a research on Immix garbage collection using Jikes RVM.
Michael Bond <[email protected]> Tue, 30 Oct 2018 10:13:19 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============7614237134949910327== Content-Type: multipart/alternative; boundary="------------3DAE799D8885C9DF6D4AE558" Content-Language: en-US --------------3DAE799D8885C9DF6D4AE558 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit 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] > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers --------------3DAE799D8885C9DF6D4AE558 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi Chang Min,<br> <br> The User Guide (<a class="moz-txt-link-freetext" href="https://www.jikesrvm.org/UserGuide/">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="moz-cite-prefix">On 10/29/18 7:02 PM, Chang Min Park wrote:<br> </div> <blockquote type="cite" cite="mid:CAEgWMOM9o1=NPW3ODiHphOi-oGpWC-GpzWZ3Z6KgK+KEGvaPmA@mail.gmail.com"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <div dir="ltr">Hi, <div><br> </div> <div>I'm a Ph.D. student in University at Buffalo in New York. </div> <div>I'm doing a research on Immix Garbage Collection.</div> <div><br> </div> <div>I want to debug <b>rvm</b> and <b>Immix GC</b> how they actually works in runtime. </div> <div>Because of notation @uninterruptible on all classes, I cannot print string. </div> <div>1. So, I commented out all the uninterruptible notations and tried to print string, but it gives stack pointer error in runtime. </div> <div>2. I also cloned <b>rdb</b>, and I got an error while building. I assume that is because the repository wasn't updated since 2014. </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="all"> <div> <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div dir="ltr"> <table style="border-spacing:0px;border-collapse:collapse;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;line-height:20px;table-layout:fixed;background-color:transparent" width="450" cellpadding="0" border="0"> <tbody> <tr> <td style="padding:0px" width="383" nowrap="nowrap" align="left"> <table style="border-spacing:0px;border-collapse:collapse;font-family:Lato,Arial,San-serif;table-layout:fixed;background-color:transparent" width="450" cellpadding="0" border="0"> <tbody> <tr> <td style="padding:0px" width="383" nowrap="nowrap" align="left"> <p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;line-height:12px;color:rgb(33,33,33)"><span style="font-size:10px"><b>Chang Min Park</b> </span><span style="font-size:10px">/ </span><i style="font-size:10px">Computer Science </i><br> <span style="font-size:10px">(716)598-7331</span></p> <p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;line-height:12px;color:rgb(33,33,33)"><span style="font-size:10px"><br> </span></p> </td> </tr> </tbody> </table> <table style="border-spacing:0px;border-collapse:collapse;font-family:Lato,Arial,San-serif;table-layout:fixed;background-color:transparent" width="450" cellpadding="0" border="0"> <tbody> <tr> <td style="padding:0px" width="77" valign="top" align="left"><br> </td> <td style="padding:0px" width="383" nowrap="nowrap" align="left"><br> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table style="border-spacing:0px;border-collapse:collapse;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;line-height:20px;table-layout:fixed;background-color:transparent" width="450" cellpadding="0" border="0"> <tbody> <tr> <td style="padding:0px" width="77" valign="top" align="left"><br> </td> <td style="padding:0px" width="383" nowrap="nowrap" align="left"> <p style="margin:0px 0px 10px;font-size:0px;line-height:0;font-family:Helvetica,Arial,sans-serif"><span style="white-space:nowrap"><img src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border:0px;vertical-align:middle" moz-do-not-send="true" width="2"> </span></p> </td> </tr> </tbody> </table> <div><br> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <pre class="moz-quote-pre" wrap="">_______________________________________________ Jikesrvm-researchers mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers">https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers</a> </pre> </blockquote> <br> </body> </html> --------------3DAE799D8885C9DF6D4AE558-- --===============7614237134949910327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7614237134949910327== 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 --===============7614237134949910327==--