diff -r 0042eb88035b -r 184c51e48260 src/hotspot/share/runtime/tieredThresholdPolicy.cpp --- a/src/hotspot/share/runtime/tieredThresholdPolicy.cpp Tue Jan 08 11:02:26 2019 +0100 +++ b/src/hotspot/share/runtime/tieredThresholdPolicy.cpp Tue Jan 08 11:23:19 2019 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 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 @@ -872,7 +872,7 @@ } bool TieredThresholdPolicy::maybe_switch_to_aot(const methodHandle& mh, CompLevel cur_level, CompLevel next_level, JavaThread* thread) { - if (UseAOT && !delay_compilation_during_startup()) { + if (UseAOT) { if (cur_level == CompLevel_full_profile || cur_level == CompLevel_none) { // If the current level is full profile or interpreter and we're switching to any other level, // activate the AOT code back first so that we won't waste time overprofiling.