8264805: Remove the experimental Ahead-of-Time Compiler

Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
This commit is contained in:
Vladimir Kozlov 2021-04-27 01:12:18 +00:00
parent 15d4787724
commit 694acedf18
378 changed files with 200 additions and 26970 deletions

View file

@ -23,7 +23,6 @@
*/
#include "precompiled.hpp"
#include "aot/aotLoader.hpp"
#include "cds/metaspaceShared.hpp"
#include "classfile/classFileStream.hpp"
#include "classfile/classLoaderDataGraph.hpp"
@ -4407,18 +4406,8 @@ void VM_RedefineClasses::redefine_single_class(Thread* current, jclass the_jclas
scratch_class->enclosing_method_method_index());
scratch_class->set_enclosing_method_indices(old_class_idx, old_method_idx);
// Replace fingerprint data
the_class->set_has_passed_fingerprint_check(scratch_class->has_passed_fingerprint_check());
the_class->store_fingerprint(scratch_class->get_stored_fingerprint());
the_class->set_has_been_redefined();
if (!the_class->should_be_initialized()) {
// Class was already initialized, so AOT has only seen the original version.
// We need to let AOT look at it again.
AOTLoader::load_for_klass(the_class, current);
}
// keep track of previous versions of this class
the_class->add_previous_version(scratch_class, emcp_method_count);