43 #include "oops/symbol.hpp" |
43 #include "oops/symbol.hpp" |
44 #include "prims/jvm_misc.hpp" |
44 #include "prims/jvm_misc.hpp" |
45 #include "prims/jvmtiExport.hpp" |
45 #include "prims/jvmtiExport.hpp" |
46 #include "prims/jvmtiThreadState.hpp" |
46 #include "prims/jvmtiThreadState.hpp" |
47 #include "prims/privilegedStack.hpp" |
47 #include "prims/privilegedStack.hpp" |
48 #include "runtime/aprofiler.hpp" |
|
49 #include "runtime/arguments.hpp" |
48 #include "runtime/arguments.hpp" |
50 #include "runtime/biasedLocking.hpp" |
49 #include "runtime/biasedLocking.hpp" |
51 #include "runtime/deoptimization.hpp" |
50 #include "runtime/deoptimization.hpp" |
52 #include "runtime/fprofiler.hpp" |
51 #include "runtime/fprofiler.hpp" |
53 #include "runtime/frame.inline.hpp" |
52 #include "runtime/frame.inline.hpp" |
3675 // stack trace if appropriate. Simply exit VM. |
3674 // stack trace if appropriate. Simply exit VM. |
3676 vm_exit(1); |
3675 vm_exit(1); |
3677 } |
3676 } |
3678 |
3677 |
3679 if (Arguments::has_profile()) FlatProfiler::engage(main_thread, true); |
3678 if (Arguments::has_profile()) FlatProfiler::engage(main_thread, true); |
3680 if (Arguments::has_alloc_profile()) AllocationProfiler::engage(); |
|
3681 if (MemProfiling) MemProfiler::engage(); |
3679 if (MemProfiling) MemProfiler::engage(); |
3682 StatSampler::engage(); |
3680 StatSampler::engage(); |
3683 if (CheckJNICalls) JniPeriodicChecker::engage(); |
3681 if (CheckJNICalls) JniPeriodicChecker::engage(); |
3684 |
3682 |
3685 BiasedLocking::init(); |
3683 BiasedLocking::init(); |