I'm getting very confused regarding the different threads on this. But this webrev:

http://cr.openjdk.java.net/~nloodin/exception-tracing/webrev.01/

shows the intrusive event tracing that I'm sure we said we would grudgingly accept for 7u but not for JDK 8.

David

On 23/02/2013 2:16 AM, Jason Mehrens wrote:
 From this webrev
http://cr.openjdk.java.net/~nloodin/exception-tracing/webrev.01/  you
are counting the number of throwables constructed.  You might want to
change the name to reflect that.  I don't think anyone would want to
write a spec for how many throwables are thrown given that a throwable
can be wrapped, suppressed, rethrown, etc.
Jason

 > Date: Fri, 22 Feb 2013 14:10:02 +0100
 > From: nils.loo...@oracle.com
 > To: core-libs-dev@openjdk.java.net; serviceability-...@openjdk.java.net
 > Subject: Fwd: RFR: 8007806: Need a Throwables performance counter
 >
 > Does anyone have anything strongly against this? This is a small change
 > just to add a performance counter, the code to increment it and read it
 > will live in other parts of the code and be a part of a larger separate
 > commit.
 >
 > Alan Bateman gave the response that the name was inappropriate, but I
 > don't really have a better alternative, but neither do I have strong
 > opinions, so feedback would be appreciated!
 >
 > How about
 > "sun.throwables.thrownThrowables" ?
 >
 > Regards,
 > Nils Loodin
 >
 >
 > -------- Original Message --------
 > Subject: RFR: 8007806: Need a Throwables performance counter
 > Date: Fri, 08 Feb 2013 18:10:02 +0100
 > From: Nils Loodin <nils.loo...@oracle.com>
 > To: core-libs-dev@openjdk.java.net,        serviceability_dev_ww_grp
 > <serviceability_dev_ww_...@oracle.com>
 >
 > It would be interesting to know the number of thrown throwables in the
 > JVM, to be able to do some high level application diagnostics /
 > statistics. A good way to put this number would be a performance
 > counter, since it is accessible both from Java and from the VM.
 >
 > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8007806
 > http://cr.openjdk.java.net/~nloodin/8007806/webrev.00/
 >
 > Regards,
 > Nils Loodin
 >
 >

Reply via email to