You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by bu...@apache.org on 2002/05/15 05:20:37 UTC

DO NOT REPLY [Bug 9094] New: - Instrumenting ClassLoader

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9094>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9094

Instrumenting ClassLoader

           Summary: Instrumenting ClassLoader
           Product: Avalon
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Phoenix
        AssignedTo: avalon-phoenix-dev@jakarta.apache.org
        ReportedBy: donaldp@apache.org


An interesting feature that we may consider adding is a ClassLoader that 
instruments bytecodes as they are loaded. The Instrumenter could take bytecodes 
of class and modify them as it sees fit.

You could add in things like method timing, method logging, or more complex 
stuff like Design By Contract (DBC). ie DBC would allow you to put 
preconditions, postcodditions and class conditions for every method.

It could also allow you to do some funky stuff for certain app servers (ala 
EOB) if you want transparent distribution or persistence or whatever.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>