RFR: 8172905: Minor startup cleanup of CallSite and MethodType
Claes Redestad
claes.redestad at oracle.com
Wed Jan 18 13:40:08 UTC 2017
Using Stable we could also make the lookup of TARGET_OFFSET lazy:
http://cr.openjdk.java.net/~redestad/8172905/webrev.02/
/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