RFR: 8003471 - Add Add instrumentation facilities for Throwables

Alan Bateman Alan.Bateman at oracle.com
Thu Nov 15 11:15:04 UTC 2012


On 15/11/2012 10:52, Nils Loodin wrote:
> Hello all!
>
> Please review this change that would add facilities to help 
> instrumentation of Throwables, to get a rough count of how many 
> Exceptions and Errors an application has thrown during its lifetime.
>
> This can help developers and people working in customer-related 
> support roles to do a high level assessment of a program to see if it 
> has any undesirable patterns for instance.
>
> The instrumentation point will Receive the Throwable thrown, from 
> which information about message and stack trace and throwable type can 
> be extracted.
>
> Webrev: http://cr.openjdk.java.net/~nloodin/exception-tracing/webrev.01/
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8003322
Nils - you can explain why the byte code instrumentation can't be used here?

-Alan.



More information about the core-libs-dev mailing list