harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santiago Gala (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1847) [drlvm] -verbose option does nothing
Date Sun, 08 Apr 2007 10:41:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Santiago Gala updated HARMONY-1847:
-----------------------------------

    Attachment: verbose-class.diff

This patch makes -verbose or -verbose:class actually print something similar to other VMs.

It works well for jar-loaded classes, printing from path/to/jarfile, but for non bootclassloaders,
it prints " by classloaderclass", because I was not able to actually find how other classes
delegate loading in a reasonable way.

It would be far more useful if it printed the origin jar when the classloader inherits from
the system classloaders, but al least now .-verbose prints something.

> [drlvm] -verbose option does nothing
> ------------------------------------
>
>                 Key: HARMONY-1847
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1847
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Any just java -version test
>            Reporter: Jean-Frederic Clere
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: log4cxx-fix.patch, update-log4cxx-revision.patch, verbose-class.diff,
workaround-fflush-log.patch
>
>
> java -verbose does not print any information
> To debug an application it is very helpfull to know which classes and in which order
they are loaded.
> Something like what RI gives would be enough.
> [Opened C:\tools\sun1.5.0\jre\lib\rt.jar]
> [Opened C:\tools\sun1.5.0\jre\lib\charsets.jar]
> [Loaded java.lang.Object from C:\tools\sun1.5.0\jre\lib\rt.jar]
> [Loaded java.io.Serializable from C:\tools\sun1.5.0\jre\lib\rt.jar]
> [Loaded java.lang.Comparable from C:\tools\sun1.5.0\jre\lib\rt.jar] 
> Xtrace:classloader contains the information but it is too verbose.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message