Skip to content

Commit

Permalink
8274238: Inconsistent type for young_list_target_length()
Browse files Browse the repository at this point in the history
Reviewed-by: kbarrett, tschatzl
  • Loading branch information
brianjstafford authored and Thomas Schatzl committed Feb 14, 2022
1 parent 2604a88 commit 9d0a4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1Policy.hpp
Expand Up @@ -382,7 +382,7 @@ class G1Policy: public CHeapObj<mtGC> {
// This must be called at the very beginning of an evacuation pause.
void decide_on_concurrent_start_pause();

size_t young_list_target_length() const { return _young_list_target_length; }
uint young_list_target_length() const { return _young_list_target_length; }

bool should_allocate_mutator_region() const;

Expand Down

1 comment on commit 9d0a4c3

@openjdk-notifier
Copy link

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.