changeset 2526:87ce328c6a21

6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"") Reviewed-by: kvn, iveresov
author never
date Mon, 04 Apr 2011 19:03:35 -0700
parents 8b2317d732ec
children fb37e3eabfd0
files src/share/vm/c1/c1_LIRAssembler.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRAssembler.cpp	Mon Apr 04 12:57:04 2011 -0700
+++ b/src/share/vm/c1/c1_LIRAssembler.cpp	Mon Apr 04 19:03:35 2011 -0700
@@ -836,6 +836,9 @@
           _masm->verify_stack_oop(r->reg2stack() * VMRegImpl::stack_slot_size);
         }
       }
+      check_codespace();
+      CHECK_BAILOUT();
+
       s.next();
     }
     VerifyOops = v;