RFR: 8003471 - Add Add instrumentation facilities for Throwables

Paul Sandoz paul.sandoz at oracle.com
Thu Nov 15 14:02:56 UTC 2012


On Nov 15, 2012, at 1:28 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 15/11/2012 12:19, Nils Loodin wrote:
>>>> 
>>>> 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?
>> 
>> No real reason it couldn't, I just hadn't implemented it that way for simplicity's sake.
> I think it would be great if you could explore that. I think it would be a lot preferable than using invasive instrumentation as proposed. Also it would eliminate any concerns about stack overflow and whether this is a supported interface or not.
> 

I second that. Where possible we should strive to be B/DTrace-like in the approach to instrumentation.

Paul.




More information about the core-libs-dev mailing list