提交 da4b5606 编写于 作者: K kvn

6498878: client compiler crashes on windows when dealing with breakpoint instructions

Summary: _is_compilable check prevents breakpoint bytecodes reversion when loading bytecodes for ciMethod.
Reviewed-by: never
上级 be787fb1
......@@ -146,7 +146,7 @@ void ciMethod::load_code() {
memcpy(_code, me->code_base(), code_size());
// Revert any breakpoint bytecodes in ci's copy
if (_is_compilable && me->number_of_breakpoints() > 0) {
if (me->number_of_breakpoints() > 0) {
BreakpointInfo* bp = instanceKlass::cast(me->method_holder())->breakpoints();
for (; bp != NULL; bp = bp->next()) {
if (bp->match(me)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册