diff -r 9046db64ca39 -r cddef3bde924 src/hotspot/share/prims/unsafe.cpp --- a/src/hotspot/share/prims/unsafe.cpp Wed Sep 11 14:16:27 2019 +0200 +++ b/src/hotspot/share/prims/unsafe.cpp Wed Sep 11 14:16:30 2019 +0200 @@ -875,9 +875,7 @@ } // try/finally clause: - if (temp_alloc != NULL) { - FREE_C_HEAP_ARRAY(u1, temp_alloc); - } + FREE_C_HEAP_ARRAY(u1, temp_alloc); // The anonymous class loader data has been artificially been kept alive to // this point. The mirror and any instances of this class have to keep