Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 18614:c307546c7b0a
made initialization of the Graal class loader and well known Graal classes lazy
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 04 Dec 2014 13:42:56 +0100 |
parents | 43e2cc9a4fde |
children | 8f2fb6bec986 |
comparison
equal
deleted
inserted
replaced
18613:8c3a85077f84 | 18614:c307546c7b0a |
---|---|
3684 // valid exceptions may be thrown in the process. | 3684 // valid exceptions may be thrown in the process. |
3685 // Note that we do not use CHECK_0 here since we are inside an EXCEPTION_MARK and | 3685 // Note that we do not use CHECK_0 here since we are inside an EXCEPTION_MARK and |
3686 // set_init_completed has just been called, causing exceptions not to be shortcut | 3686 // set_init_completed has just been called, causing exceptions not to be shortcut |
3687 // anymore. We call vm_exit_during_initialization directly instead. | 3687 // anymore. We call vm_exit_during_initialization directly instead. |
3688 SystemDictionary::compute_java_system_loader(THREAD); | 3688 SystemDictionary::compute_java_system_loader(THREAD); |
3689 #ifdef GRAAL | |
3690 if (!HAS_PENDING_EXCEPTION) { | |
3691 SystemDictionary::initialize_preloaded_graal_classes(THREAD); | |
3692 } | |
3693 #endif | |
3694 if (HAS_PENDING_EXCEPTION) { | 3689 if (HAS_PENDING_EXCEPTION) { |
3695 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); | 3690 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); |
3696 } | 3691 } |
3697 | 3692 |
3698 #if INCLUDE_ALL_GCS | 3693 #if INCLUDE_ALL_GCS |