RFR: 8277216: Examine InstanceKlass::_misc_flags for concurrency issues [v3]

David Holmes dholmes at openjdk.java.net
Thu Dec 16 21:54:59 UTC 2021


On Thu, 16 Dec 2021 13:37:19 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Setting misc_flags to false repeatedly isn't going to break anything wrt. concurrency.

Setting any of the bits concurrently is broken. If one piece of code is turning on bit N and another turning off bit M then the latter can cause the former to be lost.

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

PR: https://git.openjdk.java.net/jdk/pull/6851


More information about the hotspot-dev mailing list