changeset 9107:8ac339c8f87f

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 85edf8ec98b2
children 4b84c6a49f71
files hotspot/src/share/vm/c1/c1_LIRAssembler.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp	Mon Apr 04 12:57:04 2011 -0700
+++ b/hotspot/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;