In oop.hpp we have "extern bool always_do_update_barrier;", along with the definition in oop.cpp. This variable was used by oop_store (was in oop.inline.hpp), which no longer exists. There are various assignments (all for CMS) and mentions in comments, but there are no longer any references to this variable.
- relates to
-
JDK-8189871 Refactor GC barriers to use declarative semantics
-
- Resolved
-
-
JDK-8163897 oop_store has unnecessary memory barriers
-
- Resolved
-
- links to