mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers. Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
This commit is contained in:
parent
6c1cf6ba45
commit
91dbd4f088
91 changed files with 354 additions and 354 deletions
|
@ -2084,7 +2084,7 @@ class AdapterFingerPrint : public CHeapObj<mtCode> {
|
|||
|
||||
~AdapterFingerPrint() {
|
||||
if (_length > 0) {
|
||||
FREE_C_HEAP_ARRAY(int, _value._fingerprint, mtCode);
|
||||
FREE_C_HEAP_ARRAY(int, _value._fingerprint);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2491,7 +2491,7 @@ void AdapterHandlerEntry::relocate(address new_base) {
|
|||
void AdapterHandlerEntry::deallocate() {
|
||||
delete _fingerprint;
|
||||
#ifdef ASSERT
|
||||
if (_saved_code) FREE_C_HEAP_ARRAY(unsigned char, _saved_code, mtCode);
|
||||
if (_saved_code) FREE_C_HEAP_ARRAY(unsigned char, _saved_code);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -2902,7 +2902,7 @@ JRT_LEAF(intptr_t*, SharedRuntime::OSR_migration_begin( JavaThread *thread) )
|
|||
JRT_END
|
||||
|
||||
JRT_LEAF(void, SharedRuntime::OSR_migration_end( intptr_t* buf) )
|
||||
FREE_C_HEAP_ARRAY(intptr_t, buf, mtCode);
|
||||
FREE_C_HEAP_ARRAY(intptr_t, buf);
|
||||
JRT_END
|
||||
|
||||
bool AdapterHandlerLibrary::contains(CodeBlob* b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue