diff -r 63eb7e38ce84 -r 9d1a788dea3d src/hotspot/share/runtime/statSampler.cpp --- a/src/hotspot/share/runtime/statSampler.cpp Tue Jan 29 14:34:26 2019 +0100 +++ b/src/hotspot/share/runtime/statSampler.cpp Tue Jan 29 14:43:05 2019 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -356,14 +356,3 @@ PerfDataManager::create_counter(SUN_OS, "hrt.ticks", PerfData::U_Ticks, psh, CHECK); } - -/* - * the statSampler_exit() function is called from os_init.cpp on - * exit of the vm. - */ -void statSampler_exit() { - - if (!UsePerfData) return; - - StatSampler::destroy(); -}