RFR: Some patches for sherman

Martin Buchholz martinrb at google.com
Sat Mar 31 01:31:06 UTC 2018


Thanks, John.
I need to adjust my expectations.  The word "constant" means something
different to hotspot engineers.

I'm still hoping to someday simply say,
"here's a final field - just go ahead and trust that it's truly final"


On Fri, Mar 30, 2018 at 4:38 PM, John Rose <john.r.rose at oracle.com> wrote:

>
> The docs for @Stable don't spell this out as clearly as one
> might want, but this sentence comes closest:  "More specifically,
> the HotSpot VM will process non-null stable fields (final or
> otherwise) in a similar manner to static final fields with respect to
> promoting the field's value to a constant."
>


More information about the core-libs-dev mailing list