hotspot/src/share/vm/runtime/thread.cpp
changeset 40892 330a02d935ad
parent 40655 9f644073d3a0
child 41687 6b97c4598667
equal deleted inserted replaced
40891:8010999ff6d0 40892:330a02d935ad
    33 #include "code/scopeDesc.hpp"
    33 #include "code/scopeDesc.hpp"
    34 #include "compiler/compileBroker.hpp"
    34 #include "compiler/compileBroker.hpp"
    35 #include "compiler/compileTask.hpp"
    35 #include "compiler/compileTask.hpp"
    36 #include "gc/shared/gcId.hpp"
    36 #include "gc/shared/gcId.hpp"
    37 #include "gc/shared/gcLocker.inline.hpp"
    37 #include "gc/shared/gcLocker.inline.hpp"
    38 #include "gc/shared/referencePendingListLocker.hpp"
       
    39 #include "gc/shared/workgroup.hpp"
    38 #include "gc/shared/workgroup.hpp"
    40 #include "interpreter/interpreter.hpp"
    39 #include "interpreter/interpreter.hpp"
    41 #include "interpreter/linkResolver.hpp"
    40 #include "interpreter/linkResolver.hpp"
    42 #include "interpreter/oopMapCache.hpp"
    41 #include "interpreter/oopMapCache.hpp"
    43 #include "jvmtifiles/jvmtiEnv.hpp"
    42 #include "jvmtifiles/jvmtiEnv.hpp"
  3716   // record VM initialization completion time
  3715   // record VM initialization completion time
  3717 #if INCLUDE_MANAGEMENT
  3716 #if INCLUDE_MANAGEMENT
  3718   Management::record_vm_init_completed();
  3717   Management::record_vm_init_completed();
  3719 #endif // INCLUDE_MANAGEMENT
  3718 #endif // INCLUDE_MANAGEMENT
  3720 
  3719 
  3721   // Note that we do not use CHECK_0 here since we are inside an EXCEPTION_MARK and
       
  3722   // set_init_completed has just been called, causing exceptions not to be shortcut
       
  3723   // anymore. We call vm_exit_during_initialization directly instead.
       
  3724 
       
  3725   // Initialize reference pending list locker
       
  3726   bool needs_locker_thread = Universe::heap()->needs_reference_pending_list_locker_thread();
       
  3727   ReferencePendingListLocker::initialize(needs_locker_thread, CHECK_JNI_ERR);
       
  3728 
       
  3729   // Signal Dispatcher needs to be started before VMInit event is posted
  3720   // Signal Dispatcher needs to be started before VMInit event is posted
  3730   os::signal_init();
  3721   os::signal_init();
  3731 
  3722 
  3732   // Start Attach Listener if +StartAttachListener or it can't be started lazily
  3723   // Start Attach Listener if +StartAttachListener or it can't be started lazily
  3733   if (!DisableAttachMechanism) {
  3724   if (!DisableAttachMechanism) {