mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8270386: Better verification of scan methods
Reviewed-by: hseigel, coleenp, mschoene, rhalade
This commit is contained in:
parent
9a94fbc793
commit
fa47c368d4
1 changed files with 3 additions and 1 deletions
|
@ -2417,7 +2417,9 @@ void InstanceKlass::metaspace_pointers_do(MetaspaceClosure* it) {
|
|||
} else {
|
||||
it->push(&_default_vtable_indices);
|
||||
}
|
||||
it->push(&_fields);
|
||||
|
||||
// _fields might be written into by Rewriter::scan_method() -> fd.set_has_initialized_final_update()
|
||||
it->push(&_fields, MetaspaceClosure::_writable);
|
||||
|
||||
if (itable_length() > 0) {
|
||||
itableOffsetEntry* ioe = (itableOffsetEntry*)start_of_itable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue