mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
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:
parent
fc336457e7
commit
70b26044ba
3 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue