Skip to content

Commit

Permalink
8318643: +UseTransparentHugePages must enable +UseLargePages
Browse files Browse the repository at this point in the history
Reviewed-by: sjohanss
  • Loading branch information
tstuefe committed Oct 23, 2023
1 parent fc29a2e commit ff5c5b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/os/linux/os_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3775,6 +3775,8 @@ void os::large_page_init() {
_large_page_size = HugePages::thp_pagesize();
_page_sizes.add(_large_page_size);
_page_sizes.add(os::vm_page_size());
// +UseTransparentHugePages implies +UseLargePages
UseLargePages = true;

} else {

Expand Down

1 comment on commit ff5c5b6

@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.