mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6498878: client compiler crashes on windows when dealing with breakpoint instructions
_is_compilable check prevents breakpoint bytecodes reversion when loading bytecodes for ciMethod. Reviewed-by: never
This commit is contained in:
parent
b8789d9c9a
commit
e06dedd2f1
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue