mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7008325: CodeCache exhausted on sparc starting from hs20b04
Remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required. Reviewed-by: twisti
This commit is contained in:
parent
4286ac7947
commit
28050800c0
6 changed files with 39 additions and 26 deletions
|
@ -161,6 +161,7 @@ class CodeHeap : public CHeapObj {
|
|||
size_t max_capacity() const;
|
||||
size_t allocated_capacity() const;
|
||||
size_t unallocated_capacity() const { return max_capacity() - allocated_capacity(); }
|
||||
size_t largest_free_block() const;
|
||||
|
||||
// Debugging
|
||||
void verify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue