Skip to content
Permalink
Browse files
8272725: G1: add documentation on needs_remset_update_t vs bool
Reviewed-by: tschatzl, iwalulya
  • Loading branch information
albertnetymk committed Aug 24, 2021
1 parent 2309b7d commit 6e0328f5829282b56327aa0128774cb916275d45
Showing 1 changed file with 2 additions and 0 deletions.
@@ -39,6 +39,8 @@ struct G1HeapRegionAttr {
#else
typedef int8_t region_type_t;
#endif
// _needs_remset_update_t is essentially bool, but we need precise control
// on the size, and sizeof(bool) is implementation specific.
typedef uint8_t needs_remset_update_t;

private:

1 comment on commit 6e0328f

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 6e0328f Aug 24, 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.