harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm] An easy task for a DRLVM newby: fix -verbose:class
Date Fri, 13 Oct 2006 12:47:46 GMT
BTW, you asked several days ago what would be the content of our wiki page.
The  list with easy but useful tasks for newbies can be a good idea :)

On 10/13/06, Salikh Zakirov <Salikh.Zakirov@intel.com> 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?
>
> [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.41ms)
> [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
>
>


-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message