mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8023191: OSR nmethods should be flushed to free space in CodeCache
Treat OSR nmethods like normal nmethods and flush them if they are cold/unused. Reviewed-by: kvn
This commit is contained in:
parent
2b48dbfd93
commit
ba7e4da495
6 changed files with 90 additions and 50 deletions
|
@ -829,7 +829,7 @@ public:
|
|||
nmethod* osr_nmethods_head() const { return _osr_nmethods_head; };
|
||||
void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; };
|
||||
void add_osr_nmethod(nmethod* n);
|
||||
void remove_osr_nmethod(nmethod* n);
|
||||
bool remove_osr_nmethod(nmethod* n);
|
||||
int mark_osr_nmethods(const Method* m);
|
||||
nmethod* lookup_osr_nmethod(const Method* m, int bci, int level, bool match_level) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue