Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 11096:71180a6e5080
7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful.
Summary: Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.
Reviewed-by: stefank, coleenp
author | jiangli |
---|---|
date | Wed, 03 Jul 2013 17:26:59 -0400 |
parents | b9f4c4ec0f50 |
children | dbc0b5dc08f5 438e13354adf |
comparison
equal
deleted
inserted
replaced
11065:cedf20e2a655 | 11096:71180a6e5080 |
---|---|
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(); |