--- old/src/hotspot/share/runtime/os.cpp 2019-07-03 19:31:06.102233367 +0200 +++ new/src/hotspot/share/runtime/os.cpp 2019-07-03 19:31:05.606232092 +0200 @@ -795,6 +795,17 @@ #endif } +static void* p_nestegg = NULL; +bool os::init_nestegg(size_t size) { + p_nestegg = os::malloc(size, mtInternal); + return p_nestegg != NULL; +} + +void os::release_nestegg() { + os::free(p_nestegg); + p_nestegg = NULL; +} + void os::init_random(unsigned int initval) { _rand_seed = initval; }