mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8053998: Hot card cache flush chunk size too coarse grained
Changed the chunk size to a smaller fixed number. Reviewed-by: tschatzl, mgerdin
This commit is contained in:
parent
f6ab247c45
commit
d90a333e5b
2 changed files with 4 additions and 3 deletions
|
@ -70,6 +70,9 @@ class G1HotCardCache: public CHeapObj<mtGC> {
|
|||
|
||||
G1CardCounts _card_counts;
|
||||
|
||||
// The number of cached cards a thread claims when flushing the cache
|
||||
static const int ClaimChunkSize = 32;
|
||||
|
||||
bool default_use_cache() const {
|
||||
return (G1ConcRSLogCacheSize > 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue