RFR: 8288327: Executable.hasRealParameterData should not be volatile [v7]
Peter Levart
plevart at openjdk.org
Fri Jul 1 10:42:45 UTC 2022
On Fri, 1 Jul 2022 10:35:11 GMT, Peter Levart <plevart at openjdk.org> wrote:
>> @plevart so should I remove it or keep as is?
>
> Right, in that case, it should remain.
But, ... is any code path accessing the elements of the @Stable array by constant indexes? Only in that case would the annotation have any effect on the JIT-ed code. Otherwise it's just a waste of space.
-------------
PR: https://git.openjdk.org/jdk/pull/9143
More information about the core-libs-dev
mailing list