3228 |
3228 |
3229 initialize_class(vmSymbols::java_lang_String(), CHECK); |
3229 initialize_class(vmSymbols::java_lang_String(), CHECK); |
3230 |
3230 |
3231 // Initialize java_lang.System (needed before creating the thread) |
3231 // Initialize java_lang.System (needed before creating the thread) |
3232 initialize_class(vmSymbols::java_lang_System(), CHECK); |
3232 initialize_class(vmSymbols::java_lang_System(), CHECK); |
|
3233 // The VM creates & returns objects of this class. Make sure it's initialized. |
|
3234 initialize_class(vmSymbols::java_lang_Class(), CHECK); |
3233 initialize_class(vmSymbols::java_lang_ThreadGroup(), CHECK); |
3235 initialize_class(vmSymbols::java_lang_ThreadGroup(), CHECK); |
3234 Handle thread_group = create_initial_thread_group(CHECK); |
3236 Handle thread_group = create_initial_thread_group(CHECK); |
3235 Universe::set_main_thread_group(thread_group()); |
3237 Universe::set_main_thread_group(thread_group()); |
3236 initialize_class(vmSymbols::java_lang_Thread(), CHECK); |
3238 initialize_class(vmSymbols::java_lang_Thread(), CHECK); |
3237 oop thread_object = create_initial_thread(thread_group, main_thread, CHECK); |
3239 oop thread_object = create_initial_thread(thread_group, main_thread, CHECK); |
3238 main_thread->set_threadObj(thread_object); |
3240 main_thread->set_threadObj(thread_object); |
3239 // Set thread status to running since main thread has |
3241 // Set thread status to running since main thread has |
3240 // been started and running. |
3242 // been started and running. |
3241 java_lang_Thread::set_thread_status(thread_object, |
3243 java_lang_Thread::set_thread_status(thread_object, |
3242 java_lang_Thread::RUNNABLE); |
3244 java_lang_Thread::RUNNABLE); |
3243 |
|
3244 // The VM creates & returns objects of this class. Make sure it's initialized. |
|
3245 initialize_class(vmSymbols::java_lang_Class(), CHECK); |
|
3246 |
3245 |
3247 // The VM preresolves methods to these classes. Make sure that they get initialized |
3246 // The VM preresolves methods to these classes. Make sure that they get initialized |
3248 initialize_class(vmSymbols::java_lang_reflect_Method(), CHECK); |
3247 initialize_class(vmSymbols::java_lang_reflect_Method(), CHECK); |
3249 initialize_class(vmSymbols::java_lang_ref_Finalizer(), CHECK); |
3248 initialize_class(vmSymbols::java_lang_ref_Finalizer(), CHECK); |
3250 call_initializeSystemClass(CHECK); |
3249 call_initializeSystemClass(CHECK); |