--- old/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2018-08-23 13:30:32.627844754 -0700 +++ new/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2018-08-23 13:30:32.325845685 -0700 @@ -1147,7 +1147,7 @@ static ScratchBlock *removeSmallestScratch(ScratchBlock **prev_ptr) { bool first = true; size_t min_size = 0; // "first" makes this conceptually infinite. - ScratchBlock **smallest_ptr, *smallest; + ScratchBlock **smallest_ptr = NULL, *smallest = NULL; ScratchBlock *cur = *prev_ptr; while (cur) { assert(*prev_ptr == cur, "just checking");