Skip to content
Browse files
8275886: G1: remove obsolete comment in HeapRegion::setup_heap_region…

Reviewed-by: mli, tschatzl
  • Loading branch information
albertnetymk committed Oct 27, 2021
1 parent 9f75d5c commit 9e831bccd2fc90681b32d1504eca753462afc6f6
Showing 1 changed file with 0 additions and 2 deletions.
@@ -84,8 +84,6 @@ void HeapRegion::setup_heap_region_size(size_t max_heap_size) {
LogOfHRGrainBytes = region_size_log;

guarantee(GrainBytes == 0, "we should only set it once");
// The cast to int is safe, given that we've bounded region_size by
GrainBytes = region_size;

guarantee(GrainWords == 0, "we should only set it once");

1 comment on commit 9e831bc

Copy link

@openjdk-notifier openjdk-notifier bot commented on 9e831bc Oct 27, 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.