JDK-8294753 : G1: G1CardCounts::add_card_count is not thread-safe
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-10-04
  • Updated: 2022-10-04
Related Reports
Relates :  
Description
`G1CardCounts::add_card_count` is called by refinement threads, but the access to `_card_counts` are not atomic and can result into update loss, treating a hot card as cold.