mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8076314: Remove the static instance variable SharedHeap:: _sh
Reviewed-by: pliden, jmasa
This commit is contained in:
parent
473bf6175f
commit
bedce0572a
17 changed files with 33 additions and 88 deletions
|
@ -550,8 +550,9 @@ HeapWord* DefNewGeneration::expand_and_allocate(size_t size,
|
|||
|
||||
void DefNewGeneration::adjust_desired_tenuring_threshold() {
|
||||
// Set the desired survivor size to half the real survivor space
|
||||
GCPolicyCounters* gc_counters = GenCollectedHeap::heap()->collector_policy()->counters();
|
||||
_tenuring_threshold =
|
||||
age_table()->compute_tenuring_threshold(to()->capacity()/HeapWordSize);
|
||||
age_table()->compute_tenuring_threshold(to()->capacity()/HeapWordSize, gc_counters);
|
||||
}
|
||||
|
||||
void DefNewGeneration::collect(bool full,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue