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