6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()

Set Z = 0 (not equal) before repne_scan() to indicate that class was not found when RCX == 0.

Reviewed-by: never, phh
This commit is contained in:
Vladimir Kozlov 2010-07-30 10:21:15 -07:00
parent b071e2accc
commit f0b6dc4e4f
6 changed files with 68 additions and 60 deletions

View file

@ -479,8 +479,8 @@ void VMError::report(outputStream* st) {
if (fr.sp()) {
st->print(", sp=" PTR_FORMAT, fr.sp());
st->print(", free space=%" INTPTR_FORMAT "k",
((intptr_t)fr.sp() - (intptr_t)stack_bottom) >> 10);
size_t free_stack_size = pointer_delta(fr.sp(), stack_bottom, 1024);
st->print(", free space=" SIZE_FORMAT "k", free_stack_size);
}
st->cr();