RFR (S) CR 8014964: @Contended breaks has_nonstatic_fields invariant

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue May 21 08:22:32 PDT 2013


On 05/21/2013 07:15 PM, Aleksey Shipilev wrote:
> (In grand scheme of things, we might allow @Contended to skip generating
> the padding if no fields are present, but this is messy to do with
> current one-pass code).

Correction: nope, it actually seems simple enough.

The trouble is whether users can rely on this to get the isolation via
inheritance, which is completely another story...

-Aleksey.


More information about the hotspot-dev mailing list