提交 28e1ee63 编写于 作者: A adlertz

8011391: C1: assert(code_offset() - offset ==...

8011391: C1: assert(code_offset() - offset == NativeInstruction::nop_instruction_size) failed: only one instruction can go in a delay slot
Summary: Remove the VerifyOopMaps flag which doesn't work for tiered or for C1 with more compiler threads than one.
Reviewed-by: twisti, drchase, iveresov
上级 97d22470
...@@ -858,9 +858,7 @@ void LIR_Assembler::move_op(LIR_Opr src, LIR_Opr dest, BasicType type, LIR_Patch ...@@ -858,9 +858,7 @@ void LIR_Assembler::move_op(LIR_Opr src, LIR_Opr dest, BasicType type, LIR_Patch
void LIR_Assembler::verify_oop_map(CodeEmitInfo* info) { void LIR_Assembler::verify_oop_map(CodeEmitInfo* info) {
#ifndef PRODUCT #ifndef PRODUCT
if (VerifyOopMaps || VerifyOops) { if (VerifyOops) {
bool v = VerifyOops;
VerifyOops = true;
OopMapStream s(info->oop_map()); OopMapStream s(info->oop_map());
while (!s.is_done()) { while (!s.is_done()) {
OopMapValue v = s.current(); OopMapValue v = s.current();
...@@ -883,7 +881,6 @@ void LIR_Assembler::verify_oop_map(CodeEmitInfo* info) { ...@@ -883,7 +881,6 @@ void LIR_Assembler::verify_oop_map(CodeEmitInfo* info) {
s.next(); s.next();
} }
VerifyOops = v;
} }
#endif #endif
} }
...@@ -269,9 +269,6 @@ ...@@ -269,9 +269,6 @@
develop(bool, PrintNotLoaded, false, \ develop(bool, PrintNotLoaded, false, \
"Prints where classes are not loaded during code generation") \ "Prints where classes are not loaded during code generation") \
\ \
notproduct(bool, VerifyOopMaps, false, \
"Adds oopmap verification code to the generated code") \
\
develop(bool, PrintLIR, false, \ develop(bool, PrintLIR, false, \
"print low-level IR") \ "print low-level IR") \
\ \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册