RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException (original) (raw)
Mandy Chung mandy.chung at oracle.com
Mon Oct 12 16:54:43 UTC 2015
- Previous message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Next message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 12, 2015, at 8:09 AM, Vyom Tewari <vyom.tewari at oracle.com> wrote:
Hi All, Please review my changes for below bug. Bug: JDK-8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException Webrev: http://cr.openjdk.java.net/~vtewari/8068887/webrev.00/webrev/ This change ensure that fewer classes are loaded in a simple(hello world) program, and thus a very very small start-up footprint improvement.
Looks okay to me (as Alan pointed out, a space is missing in “=Collections.emptyList”. I’m curious to see the diff of -verbose:class before and after.
Mandy
- Previous message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Next message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]