changeset 200:88d83617f912

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
author kvn
date Thu, 21 Feb 2008 19:03:44 -0800
parents fb51d01039ff
children 7893b7ce2d8d
files hotspot/src/share/vm/ci/ciMethod.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/ci/ciMethod.cpp	Thu Feb 21 14:03:41 2008 -0800
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp	Thu Feb 21 19:03:44 2008 -0800
@@ -146,7 +146,7 @@
   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)) {