We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf25383 commit 9f21bb6Copy full SHA for 9f21bb6
src/hotspot/share/gc/g1/g1CollectedHeap.cpp
@@ -2842,7 +2842,7 @@ void G1CollectedHeap::expand_heap_after_young_collection(){
2842
if (expand_bytes > 0) {
2843
// No need for an ergo logging here,
2844
// expansion_amount() does this when it returns a value > 0.
2845
- double expand_ms;
+ double expand_ms = 0.0;
2846
if (!expand(expand_bytes, _workers, &expand_ms)) {
2847
// We failed to expand the heap. Cannot do anything about it.
2848
}
0 commit comments