提交 6302c7ff 编写于 作者: N never

6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful

Reviewed-by: kvn, jrose, phh
上级 65c2fcd0
......@@ -319,8 +319,11 @@ void JvmtiManageCapabilities::update() {
bool enter_all_methods =
interp_events ||
avail.can_generate_breakpoint_events;
UseFastEmptyMethods = !enter_all_methods;
UseFastAccessorMethods = !enter_all_methods;
if (enter_all_methods) {
// Disable these when tracking the bytecodes
UseFastEmptyMethods = false;
UseFastAccessorMethods = false;
}
if (avail.can_generate_breakpoint_events) {
RewriteFrequentPairs = false;
......
......@@ -2726,10 +2726,10 @@ class CommandLineFlags {
product(bool, UseLoopCounter, true, \
"Increment invocation counter on backward branch") \
\
product(bool, UseFastEmptyMethods, true, \
product(bool, UseFastEmptyMethods, false, \
"Use fast method entry code for empty methods") \
\
product(bool, UseFastAccessorMethods, true, \
product(bool, UseFastAccessorMethods, false, \
"Use fast method entry code for accessor methods") \
\
product_pd(bool, UseOnStackReplacement, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册