Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.cpp @ 22423:4a532b03e2cd
some fixes and improvements based on JEP 243 review
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Aug 2015 15:35:08 +0200 |
parents | 4f6caa445b92 |
children | a1b0a76567c7 |
comparison
equal
deleted
inserted
replaced
22422:a98a02bad801 | 22423:4a532b03e2cd |
---|---|
3646 // Compute system loader. Note that this has to occur after set_init_completed, since | 3646 // Compute system loader. Note that this has to occur after set_init_completed, since |
3647 // valid exceptions may be thrown in the process. | 3647 // valid exceptions may be thrown in the process. |
3648 // Note that we do not use CHECK_0 here since we are inside an EXCEPTION_MARK and | 3648 // Note that we do not use CHECK_0 here since we are inside an EXCEPTION_MARK and |
3649 // set_init_completed has just been called, causing exceptions not to be shortcut | 3649 // set_init_completed has just been called, causing exceptions not to be shortcut |
3650 // anymore. We call vm_exit_during_initialization directly instead. | 3650 // anymore. We call vm_exit_during_initialization directly instead. |
3651 SystemDictionary::compute_java_system_loader(THREAD); | 3651 SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR)); |
3652 if (HAS_PENDING_EXCEPTION) { | |
3653 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); | |
3654 } | |
3655 | 3652 |
3656 #if INCLUDE_ALL_GCS | 3653 #if INCLUDE_ALL_GCS |
3657 // Support for ConcurrentMarkSweep. This should be cleaned up | 3654 // Support for ConcurrentMarkSweep. This should be cleaned up |
3658 // and better encapsulated. The ugly nested if test would go away | 3655 // and better encapsulated. The ugly nested if test would go away |
3659 // once things are properly refactored. XXX YSR | 3656 // once things are properly refactored. XXX YSR |