8057696: java -version triggers assertion for slowdebug zero builds

The change as introduced with JDK-8003426 removed some zero code in cppInterpreter_zero.cpp which called generate_normal_entry() in that same file with a value of synchronized == false unconditionally. However, since the new code calls generate_normal_entry() with either true or false, the assertion in this method is no longer valid.

Reviewed-by: coleenp
This commit is contained in:
Severin Gehwolf 2014-09-08 11:14:41 -04:00 committed by Coleen Phillimore
parent 152cf7d4ba
commit 4d6624b430

View file

@ -820,14 +820,10 @@ address InterpreterGenerator::generate_Reference_get_entry(void) {
}
address InterpreterGenerator::generate_native_entry(bool synchronized) {
assert(synchronized == false, "should be");
return generate_entry((address) CppInterpreter::native_entry);
}
address InterpreterGenerator::generate_normal_entry(bool synchronized) {
assert(synchronized == false, "should be");
return generate_entry((address) CppInterpreter::normal_entry);
}