diff -r cfc839f28b89 -r 91ab128a65a3 src/hotspot/share/ci/ciEnv.cpp --- a/src/hotspot/share/ci/ciEnv.cpp Tue Jan 15 10:23:23 2019 +0100 +++ b/src/hotspot/share/ci/ciEnv.cpp Wed Jan 16 10:16:08 2019 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 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 @@ -233,10 +233,6 @@ _jvmti_can_pop_frame = JvmtiExport::can_pop_frame(); } -bool ciEnv::should_retain_local_variables() const { - return _jvmti_can_access_local_variables || _jvmti_can_pop_frame; -} - bool ciEnv::jvmti_state_changed() const { if (!_jvmti_can_access_local_variables && JvmtiExport::can_access_local_variables()) {