--- old/src/share/vm/memory/allocation.hpp 2016-09-14 14:48:37.171899663 +0200 +++ new/src/share/vm/memory/allocation.hpp 2016-09-14 14:48:37.027895207 +0200 @@ -738,6 +738,7 @@ static size_t size_for(size_t length); public: + static E* allocate_or_null(size_t length); static E* allocate(size_t length); static void free(E* addr, size_t length); };