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

Thu, 21 Feb 2008 19:03:44 -0800

author
kvn
date
Thu, 21 Feb 2008 19:03:44 -0800
changeset 462
1f530c629c7d
parent 461
0871d5cd64cd
child 463
67914967a4b5

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

src/share/vm/ci/ciMethod.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/ci/ciMethod.cpp	Thu Feb 21 14:03:41 2008 -0800
     1.2 +++ b/src/share/vm/ci/ciMethod.cpp	Thu Feb 21 19:03:44 2008 -0800
     1.3 @@ -146,7 +146,7 @@
     1.4    memcpy(_code, me->code_base(), code_size());
     1.5  
     1.6    // Revert any breakpoint bytecodes in ci's copy
     1.7 -  if (_is_compilable && me->number_of_breakpoints() > 0) {
     1.8 +  if (me->number_of_breakpoints() > 0) {
     1.9      BreakpointInfo* bp = instanceKlass::cast(me->method_holder())->breakpoints();
    1.10      for (; bp != NULL; bp = bp->next()) {
    1.11        if (bp->match(me)) {

mercurial