8009836: nsk/regression/b4222717 fails with empty stack trace

Some zeroing was missed for bug 8003553, causing empty stack traces and Xcom crashes, add back zeroing to metablock

Reviewed-by: dholmes, rbackman
This commit is contained in:
Coleen Phillimore 2013-03-13 09:10:35 -04:00
parent fc336457e7
commit 70b26044ba
3 changed files with 8 additions and 3 deletions

View file

@ -55,7 +55,7 @@ ConstMethod::ConstMethod(int byte_code_size,
set_stackmap_data(NULL);
set_code_size(byte_code_size);
set_constMethod_size(size);
set_inlined_tables_length(sizes);
set_inlined_tables_length(sizes); // sets _flags
set_method_type(method_type);
assert(this->size() == size, "wrong size for object");
set_name_index(0);
@ -64,6 +64,7 @@ ConstMethod::ConstMethod(int byte_code_size,
set_max_stack(0);
set_max_locals(0);
set_method_idnum(0);
set_size_of_parameters(0);
}