RFR: 8189685: need PerfMemory class update and a volatile_static_field support in VMStructs [v2]

Yasumasa Suenaga ysuenaga at openjdk.org
Wed Aug 23 09:09:12 UTC 2023


On Wed, 23 Aug 2023 03:05:23 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> SA only looks at _initialized, but I suppose you could argue that it also should be checking _destroyed before accessing PerfMemory.

In JDK-8151815, we do not clear fields in `PerfMemory` because they are used in SA even if they are freed, so we can ignore `_destroyed` in SA. We've discussed about this in [review thread of JDK-8151815](https://mail.openjdk.org/pipermail/serviceability-dev/2017-October/022050.html).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15373#discussion_r1302485316


More information about the serviceability-dev mailing list