Skip to content

Commit

Permalink
[GC] Add IO related size policy for Parallel GC
Browse files Browse the repository at this point in the history
Summary: add new parallel gc option UseIOPrioritySizePolicy to early shrink heap when io wait is high.

Testing: jtreg

Reviewers: maoliang.ml, yude.lyd

Issue: #846

CR: #847
  • Loading branch information
weixlu committed Jul 29, 2024
1 parent 1811fb0 commit 93dc2e5
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/hotspot/share/gc/parallel/parallel_globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
"Delay in scheduling GC workers (in milliseconds)") \
\
product(bool, PSChunkLargeArrays, true, \
"Process large arrays in chunks")
"Process large arrays in chunks") \
\
product(bool, UseIOPrioritySizePolicy, true, \
"eagerly decrease heap when io wait is high") \

#endif // SHARE_GC_PARALLEL_PARALLEL_GLOBALS_HPP
Loading

0 comments on commit 93dc2e5

Please sign in to comment.