Mercurial > hg > truffle
diff src/share/vm/runtime/thread.cpp @ 16395:ad431bf0de07
added support to load classes from graal.jar with a separate class loader
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 Jul 2014 16:30:28 +0200 |
parents | d56a09df1a1f |
children | 4481cf549cfc |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Thu Jul 03 14:31:34 2014 +0200 +++ b/src/share/vm/runtime/thread.cpp Thu Jul 03 16:30:28 2014 +0200 @@ -3679,6 +3679,9 @@ // set_init_completed has just been called, causing exceptions not to be shortcut // anymore. We call vm_exit_during_initialization directly instead. SystemDictionary::compute_java_system_loader(THREAD); +#ifdef GRAAL + SystemDictionary::initialize_preloaded_graal_classes(THREAD); +#endif if (HAS_PENDING_EXCEPTION) { vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); }