mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8218974: Free GC native structures in nmethod::flush
Reviewed-by: pliden
This commit is contained in:
parent
30b074d93c
commit
c1250e0816
9 changed files with 31 additions and 51 deletions
|
@ -1370,6 +1370,8 @@ void nmethod::flush() {
|
|||
assert(_speculation_log == NULL, "should have been nulled out when transitioned to zombie");
|
||||
#endif
|
||||
|
||||
Universe::heap()->flush_nmethod(this);
|
||||
|
||||
CodeBlob::flush();
|
||||
CodeCache::free(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue