RFR: 8172905: Minor startup cleanup of CallSite and MethodType
Paul Sandoz
paul.sandoz at oracle.com
Wed Jan 18 18:57:52 UTC 2017
> On 18 Jan 2017, at 05:40, Claes Redestad <claes.redestad at 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.sandoz at 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.
>
More information about the core-libs-dev
mailing list