mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8146987: Improve Parallel GC Full GC by caching results of live_words_in_range()
A large part of time in the parallel scavenge collector is spent finding out the amount of live words within memory ranges to find out where to move an object to. Try to incrementally calculate this value. Reviewed-by: tschatzl, mgerdin, jmasa
This commit is contained in:
parent
ce491c9057
commit
4f42f17d9e
17 changed files with 180 additions and 81 deletions
|
@ -330,8 +330,8 @@ class oopDesc {
|
|||
inline int ms_adjust_pointers();
|
||||
#if INCLUDE_ALL_GCS
|
||||
// Parallel Compact
|
||||
inline void pc_follow_contents(ParCompactionManager* pc);
|
||||
inline void pc_update_contents();
|
||||
inline void pc_follow_contents(ParCompactionManager* cm);
|
||||
inline void pc_update_contents(ParCompactionManager* cm);
|
||||
// Parallel Scavenge
|
||||
inline void ps_push_contents(PSPromotionManager* pm);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue