Home
last modified time | relevance | path

Searched refs:expand_bytes (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp58 size_t expand_bytes = 0; in expansion_amount() local
107 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
122 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
134 … recent_gc_overhead, threshold, uncommitted_bytes, expand_bytes, scale_factor * 100); in expansion_amount()
136 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
140 expand_bytes = MAX2(expand_bytes, min_expand_bytes); in expansion_amount()
141 expand_bytes = MIN2(expand_bytes, uncommitted_bytes); in expansion_amount()
157 return expand_bytes; in expansion_amount()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp58 size_t expand_bytes = 0; in expansion_amount() local
107 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
122 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
134 … recent_gc_overhead, threshold, uncommitted_bytes, expand_bytes, scale_factor * 100); in expansion_amount()
136 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
140 expand_bytes = MAX2(expand_bytes, min_expand_bytes); in expansion_amount()
141 expand_bytes = MIN2(expand_bytes, uncommitted_bytes); in expansion_amount()
157 return expand_bytes; in expansion_amount()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp58 size_t expand_bytes = 0; in expansion_amount() local
107 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
122 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
134 … recent_gc_overhead, threshold, uncommitted_bytes, expand_bytes, scale_factor * 100); in expansion_amount()
136 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
140 expand_bytes = MAX2(expand_bytes, min_expand_bytes); in expansion_amount()
141 expand_bytes = MIN2(expand_bytes, uncommitted_bytes); in expansion_amount()
157 return expand_bytes; in expansion_amount()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp58 size_t expand_bytes = 0; in expansion_amount() local
107 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
122 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
134 … recent_gc_overhead, threshold, uncommitted_bytes, expand_bytes, scale_factor * 100); in expansion_amount()
136 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
140 expand_bytes = MAX2(expand_bytes, min_expand_bytes); in expansion_amount()
141 expand_bytes = MIN2(expand_bytes, uncommitted_bytes); in expansion_amount()
157 return expand_bytes; in expansion_amount()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp62 size_t expand_bytes = 0; in expansion_amount() local
111 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
126 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
138 … recent_gc_overhead, threshold, uncommitted_bytes, expand_bytes, scale_factor * 100); in expansion_amount()
140 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
144 expand_bytes = MAX2(expand_bytes, min_expand_bytes); in expansion_amount()
145 expand_bytes = MIN2(expand_bytes, uncommitted_bytes); in expansion_amount()
161 return expand_bytes; in expansion_amount()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp93 size_t expand_bytes = 0; in expansion_amount() local
99 return expand_bytes; in expansion_amount()
148 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in expansion_amount()
163 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in expansion_amount()
173 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in expansion_amount()
177 expand_bytes = clamp(expand_bytes, min_expand_bytes, uncommitted_bytes); in expansion_amount()
194 threshold, pause_time_threshold, false, expand_bytes); in expansion_amount()
196 return expand_bytes; in expansion_amount()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp93 size_t expand_bytes = 0; in young_collection_expansion_amount() local
99 return expand_bytes; in young_collection_expansion_amount()
148 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in young_collection_expansion_amount()
163 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in young_collection_expansion_amount()
173 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in young_collection_expansion_amount()
177 expand_bytes = clamp(expand_bytes, min_expand_bytes, uncommitted_bytes); in young_collection_expansion_amount()
194 threshold, pause_time_threshold, false, expand_bytes); in young_collection_expansion_amount()
196 return expand_bytes; in young_collection_expansion_amount()
242 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in full_collection_resize_amount() local
250 return expand_bytes; in full_collection_resize_amount()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/g1/
H A Dg1HeapSizingPolicy.cpp93 size_t expand_bytes = 0; in young_collection_expansion_amount() local
99 return expand_bytes; in young_collection_expansion_amount()
148 expand_bytes = (InitialHeapSize - committed_bytes) / 2; in young_collection_expansion_amount()
163 expand_bytes = MIN2(expand_bytes_via_pct, committed_bytes); in young_collection_expansion_amount()
173 expand_bytes = static_cast<size_t>(expand_bytes * scale_factor); in young_collection_expansion_amount()
177 expand_bytes = clamp(expand_bytes, min_expand_bytes, uncommitted_bytes); in young_collection_expansion_amount()
194 threshold, pause_time_threshold, false, expand_bytes); in young_collection_expansion_amount()
196 return expand_bytes; in young_collection_expansion_amount()
242 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in full_collection_resize_amount() local
250 return expand_bytes; in full_collection_resize_amount()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp109 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
124 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
223 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
225 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
226 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
230 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp109 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
124 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
223 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
225 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
226 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
230 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp109 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
124 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
223 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
225 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
226 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
230 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp106 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
121 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
220 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
222 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
223 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
227 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp106 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
121 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
220 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
222 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
223 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
227 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp109 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
124 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
223 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
225 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
226 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
230 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp106 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
121 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
220 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
222 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
223 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
227 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/shared/
H A DcardGeneration.cpp109 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
124 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
223 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
225 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
226 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
230 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/memory/
H A Dgeneration.cpp420 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
435 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
513 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
515 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
516 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
524 expand_bytes / (double) K, in compute_new_size()
685 bool OneContigSpaceCardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
687 return CardGeneration::expand(bytes, expand_bytes); in expand()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/memory/
H A Dgeneration.cpp420 bool CardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
435 size_t aligned_expand_bytes = ReservedSpace::page_align_size_up(expand_bytes); in expand()
513 size_t expand_bytes = minimum_desired_capacity - capacity_after_gc; in compute_new_size() local
515 if (expand_bytes >= _min_heap_delta_bytes) { in compute_new_size()
516 expand(expand_bytes, 0); // safe if expansion fails in compute_new_size()
524 expand_bytes / (double) K, in compute_new_size()
685 bool OneContigSpaceCardGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
687 return CardGeneration::expand(bytes, expand_bytes); in expand()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-runtime-internals-wasmsbx/src/alloc/
H A Dmod.rs137 pub fn expand_heap(&mut self, expand_bytes: u32, module: &dyn Module) -> Result<u32, Error> { in expand_heap()
140 if expand_bytes == 0 { in expand_heap()
151 if expand_bytes > std::u32::MAX - host_page_size - 1 { in expand_heap()
157 ((expand_bytes + host_page_size - 1) / host_page_size) * host_page_size; in expand_heap()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-runtime-internals-wasmsbx/src/alloc/
H A Dmod.rs137 pub fn expand_heap(&mut self, expand_bytes: u32, module: &dyn Module) -> Result<u32, Error> { in expand_heap()
140 if expand_bytes == 0 { in expand_heap()
151 if expand_bytes > std::u32::MAX - host_page_size - 1 { in expand_heap()
157 ((expand_bytes + host_page_size - 1) / host_page_size) * host_page_size; in expand_heap()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-runtime-internals/src/alloc/
H A Dmod.rs137 pub fn expand_heap(&mut self, expand_bytes: u32, module: &dyn Module) -> Result<u32, Error> { in expand_heap()
140 if expand_bytes == 0 { in expand_heap()
151 if expand_bytes > std::u32::MAX - host_page_size - 1 { in expand_heap()
157 ((expand_bytes + host_page_size - 1) / host_page_size) * host_page_size; in expand_heap()
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucet-runtime/lucet-runtime-internals/src/alloc/
H A Dmod.rs217 pub fn expand_heap(&mut self, expand_bytes: u32, module: &dyn Module) -> Result<u32, Error> { in expand_heap()
220 if expand_bytes == 0 { in expand_heap()
231 if expand_bytes > std::u32::MAX - host_page_size - 1 { in expand_heap()
237 ((expand_bytes + host_page_size - 1) / host_page_size) * host_page_size; in expand_heap()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/memory/
H A Dmetaspace.cpp396 size_t expand_bytes = minimum_desired_capacity - capacity_until_GC; in compute_new_size() local
397 expand_bytes = align_up(expand_bytes, Metaspace::commit_alignment()); in compute_new_size()
399 if (expand_bytes >= MinMetaspaceExpansion) { in compute_new_size()
401 bool succeeded = MetaspaceGC::inc_capacity_until_GC(expand_bytes, &new_capacity_until_GC); in compute_new_size()
409 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/memory/
H A Dmetaspace.cpp453 size_t expand_bytes = minimum_desired_capacity - capacity_until_GC; in compute_new_size() local
454 expand_bytes = align_up(expand_bytes, Metaspace::commit_alignment()); in compute_new_size()
456 if (expand_bytes >= MinMetaspaceExpansion) { in compute_new_size()
458 bool succeeded = MetaspaceGC::inc_capacity_until_GC(expand_bytes, &new_capacity_until_GC); in compute_new_size()
466 expand_bytes / (double) K, in compute_new_size()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/serial/
H A DtenuredGeneration.cpp223 bool TenuredGeneration::expand(size_t bytes, size_t expand_bytes) { in expand() argument
225 return CardGeneration::expand(bytes, expand_bytes); in expand()

12345678910>>...13