harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm] An easy task for a DRLVM newby: fix -verbose:class
Date Fri, 13 Oct 2006 15:52:28 GMT


Salikh Zakirov wrote:
> Hi,
> 
> as discussed in HARMONY-1847, -verbose:class currently does not produce output
> which is reasonable to expect.
> 
> For example, running HelloWorld on JRockit 1.5 produces something like
> the below text (only several lines provided).
> 
> The right way to fix is to put logging lines in the class loading code,
> like
> 
>     INFO2("class", "[load] opened zip " << zip_file_name);
> 
> INFO2 is a macro available by
> 
>     #include <cxxlog.h>
> 
> First argument is the logging category "class",
> the second argument is the iostream-style printed message,
> concatenated together with operator <<.
> 
> The task will take some reading through enhanced/drlvm/trunk/vm/vmcore/src/class_support/*.c
> 
> Any undertakers?

For the record, an "undertaker" is a person that runs a funeral home.  I 
think you meant "takers" :)

This is a good task.  Feel free to add it to JIRA to make it easy for 
someone to find.

geir

> 
> [load   ] opened zip c:\java5\jre\lib\jrockit.jar
> [load   ] opened zip c:\java5\jre\lib\rt.jar
> [load   ] opened zip c:\java5\jre\lib\jsse.jar
> [load   ] opened zip c:\java5\jre\lib\jce.jar
> [load   ] opened zip c:\java5\jre\lib\charsets.jar
> [load   ] opened zip c:\java5\jre\lib\managementapi.jar
> [load   ] initiated ? (0x2)   0 0x00000000/java/lang/Object
> [load   ] define ? (0x2) #  0 java/lang/Object
>           loader=0x00000000, src=c:\java5\jre\lib\jrockit.jar
> [load   ] loading ? (0x2)   0 0x00000000/java/lang/Object success (0.41 ms)
> [load   ] initiated ? (0x2)   1 0x00000000/java/io/Serializable
> [load   ] define ? (0x2) #  1 java/io/Serializable
>           loader=0x00000000, src=c:\java5\jre\lib\rt.jar
> [load   ] loading ? (0x2)   1 0x00000000/java/io/Serializable success (0.05 ms)
> [load   ] initiated ? (0x2)   2 0x00000000/java/lang/Class
> [load   ] define ? (0x2) #  2 java/lang/Class
>           loader=0x00000000, src=c:\java5\jre\lib\jrockit.jar
> ... many similar lines snipped
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message