Skip to content
Permalink
Browse files
8272170: Missing memory barrier when checking active state for regions
Reviewed-by: sjohanss, ayang
  • Loading branch information
Thomas Schatzl committed Nov 15, 2021
1 parent 02f7900 commit 35a831d5a755de8f3c71653bd0a37190adddb8ae
Showing 1 changed file with 1 addition and 1 deletion.
@@ -30,7 +30,7 @@
#include "utilities/bitMap.inline.hpp"

inline bool G1CommittedRegionMap::active(uint index) const {
return _active.at(index);
return _active.par_at(index);
}

inline bool G1CommittedRegionMap::inactive(uint index) const {

1 comment on commit 35a831d

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 35a831d Nov 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.