Another question is it safe to keep an unbounded strong reference to classes here? Maybe better Cache getName() results?
-- http://bernd.eckenfels.net Von: Paul Sandoz Gesendet: Donnerstag, 1. März 2018 19:05 An: Claes Redestad Cc: core-libs-dev Betreff: Re: RFR: 8198888: Reduce string allocation churn inInvokerBytecodeGenerator > On Mar 1, 2018, at 4:14 AM, Claes Redestad <claes.redes...@oracle.com> wrote: > > Hi, > > two trivial optimizations that get rid of a few percent on ISC startup tests. > > Webrev: http://cr.openjdk.java.net/~redestad/8198888/jdk.00/ > Bug: https://bugs.openjdk.java.net/browse/JDK-8198888 > Looks good. Unsurprising that int is so common given it’s the basic carrier for other primitive types. Paul.