« Return to Thread: [rvm-research] Log.write()

Re: [rvm-research] Log.write()

by Cristian Perfumo :: Rate this Message:

Reply to Author | View in Thread

Thanks Filip,

Now a successive question: I want to print something in a method of org.mmtk.plan.generational.GenMutator.java. When I try org.jikesrvm.VM.sysWriteln("Inside fastPath");
I get this error message when trying to build with ant:

    [javac] /home/cperfumo/jikes/jikesrvm-3.0.1/MMTk/src/org/mmtk/plan/generational/GenMutator.java:162: package org.jikesrvm does not exist
    [javac]       org.jikesrvm.VM.sysWriteln("Inside fastPath");

 
Any help on how to deal with this?

Thanks.

Cristian



On Fri, Jun 12, 2009 at 4:29 PM, Filip Pizlo <pizlo@...> wrote:
Hi Cristian,

I usually use VM.sysWriteln().  You can also use VM.tsysWriteln() to
get the thread ID prefixed to your message (useful for debugging multi-
threaded stuff).

-Filip




On Jun 12, 2009, at 10:17 , Cristian Perfumo wrote:

> Hi!
> I am a newbie to Jikes and just started playing around with it.
>
> I wanted to add some log messages using Log.write() but it looks like
> they will be shown depending on the -verbose option you choose. (If I
> execute without any -verbose, nothing gets shown). How do I print
> something on the screen regardless of the verbose option being used?
>
> Probably there is some documentation explaining this and other very
> basic aspects of Jikes, but I couldn't find such a thing. In case it
> exists, could you send me a pointer?
>
> Regards
>
> Cristian
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jikesrvm-researchers mailing list
> Jikesrvm-researchers@...
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

 « Return to Thread: [rvm-research] Log.write()