mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Revert two small changes from the previous-versions cleanup with marking code cache. Reviewed-by: kvn, dcubed
This commit is contained in:
parent
b20fa155a6
commit
731bbae8fa
2 changed files with 5 additions and 2 deletions
|
@ -2087,6 +2087,9 @@ void nmethod::metadata_do(void f(Metadata*)) {
|
|||
Metadata* md = *p;
|
||||
f(md);
|
||||
}
|
||||
|
||||
// Call function Method*, not embedded in these other places.
|
||||
if (_method != NULL) f(_method);
|
||||
}
|
||||
|
||||
void nmethod::oops_do(OopClosure* f, bool allow_zombie) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue