Hi Mandy,

I thought the contract for @Stable was that the value would
not change after it's been assigned a non default value.
And the default for int is '0', not '-1'.
In view of that - isn't using 'final' a better alternative,
even though it's also lying?

best regards,

-- daniel

On 12/08/2019 19:12, Mandy Chung wrote:
Alternatively, we can make bci an int (as Alekey suggests) that does not increase the object size:

    http://cr.openjdk.java.net/~mchung/jdk14/8193325/webrev.02/

This means that this will replace Frederic's proposed patch for JDK-8229375.

What do you think?

Mandy
[1] https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2019-August/035596.html

Reply via email to