> On 18 Jan 2017, at 05:40, Claes Redestad <claes.redes...@oracle.com> wrote:
> 
> Using Stable we could also make the lookup of TARGET_OFFSET lazy:
> 
> http://cr.openjdk.java.net/~redestad/8172905/webrev.02/
> 

+1

You are definitely on a mission to shame off every spare micro-second :-)

Paul.

> /Claes
> 
> On 01/18/2017 04:38 AM, John Rose wrote:
>> Using a stable field will consume less meta-space than a nested class, all 
>> other things being equal.
>> 
>> – John
>> 
>>> On Jan 17, 2017, at 5:48 PM, Paul Sandoz <paul.san...@oracle.com> wrote:
>>> 
>>> It’s either place the static finals in separate nested classes, or use 
>>> @Stable on non-final statics with lazy initialization in methods (with the 
>>> possibility of multiple invocations when concurrently executing). Nested 
>>> classes seems fine here.
> 

Reply via email to