RFR: 8333791: Fix memory barriers for @Stable fields [v2]

Aleksey Shipilev shade at openjdk.org
Thu Aug 1 09:28:47 UTC 2024


On Wed, 31 Jul 2024 19:25:25 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> `RestrictContended` and `RestrictReservedStack` are product flags.
>
> I'm not saying that `RestrictStable` should be made product. It was a deliberate decision to limit it only to trusted classes. 
> 
> There are existing tests for `@Stable` (under `test/hotspot/jtreg/compiler/stable/`) and they don't require any special assistance from the JVM.

Again, the problem here is that new tests are *IR Tests*, and I am struggling to find a good way to bootclasspath the classes that IR Test Framework itself invokes. The tests you referenced are not IR tests, and so do not have this problem.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19635#discussion_r1699831864


More information about the hotspot-dev mailing list