RFR: 8007806: Need a Throwables performance counter (original) (raw)
Jason Mehrens jason_mehrens at hotmail.com
Fri Feb 22 16:16:36 UTC 2013
- Previous message: Fwd: RFR: 8007806: Need a Throwables performance counter
- Next message: RFR: 8007806: Need a Throwables performance counter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.loodin at oracle.com To: core-libs-dev at openjdk.java.net; serviceability-dev at 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.loodin at oracle.com> To: core-libs-dev at openjdk.java.net, serviceabilitydevwwgrp <serviceabilitydevwwgrp at 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/viewbug.do?bugid=8007806 http://cr.openjdk.java.net/~nloodin/8007806/webrev.00/ Regards, Nils Loodin
- Previous message: Fwd: RFR: 8007806: Need a Throwables performance counter
- Next message: RFR: 8007806: Need a Throwables performance counter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]