RFR: 8198888: Reduce string allocation churn inInvokerBytecodeGenerator

Bernd Eckenfels ecki at zusammenkunft.net
Thu Mar 1 18:42:12 UTC 2018


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.redestad at 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.



More information about the core-libs-dev mailing list