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: https://github.com/dragonwell-project/dragonwell11/pull/
  • Loading branch information
weixlu committed Jul 26, 2024
1 parent 1811fb0 commit 7fd0e9d
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 7fd0e9d

Please sign in to comment.