It would be desirable if instead accesses are annotated with declarative semantics. Instead of calling different barriers on BarrierSet in different situations explicitly that makes sense for some GCs and not others, this new approach should declare what property makes the access special and let the API automatically generate the correct barriers.
- relates to
-
JDK-8202377 Modularize C2 GC barriers
-
- Resolved
-
-
JDK-8163329 JEP 304: Garbage Collector Interface
-
- Closed
-
-
JDK-8199220 Zero build broken after 8195103, 8191102 and 8189871
-
- Resolved
-
-
JDK-8202540 Zero fastdebug build is broken after JDK-8189871 (Refactor GC barriers to use declarative semantics)
-
- Resolved
-
-
JDK-8186787 clang-4.0 SIGSEGV in Unsafe_PutByte
-
- Closed
-
-
JDK-8207800 always_do_update_barrier is unused
-
- Resolved
-
-
JDK-8250844 Make sure {type,obj}ArrayOopDesc accessors check the bounds
-
- Resolved
-
-
JDK-8272723 Don't use Access API to access primitive fields
-
- Resolved
-