mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -3269,10 +3269,10 @@ static int recursiveFindType(VMTypeEntry* origtypes, const char* typeName, bool
|
|||
s[len-1] = '\0';
|
||||
// tty->print_cr("checking \"%s\" for \"%s\"", s, typeName);
|
||||
if (recursiveFindType(origtypes, s, true) == 1) {
|
||||
FREE_C_HEAP_ARRAY(char, s, mtInternal);
|
||||
FREE_C_HEAP_ARRAY(char, s);
|
||||
return 1;
|
||||
}
|
||||
FREE_C_HEAP_ARRAY(char, s, mtInternal);
|
||||
FREE_C_HEAP_ARRAY(char, s);
|
||||
}
|
||||
const char* start = NULL;
|
||||
if (strstr(typeName, "GrowableArray<") == typeName) {
|
||||
|
@ -3288,10 +3288,10 @@ static int recursiveFindType(VMTypeEntry* origtypes, const char* typeName, bool
|
|||
s[len-1] = '\0';
|
||||
// tty->print_cr("checking \"%s\" for \"%s\"", s, typeName);
|
||||
if (recursiveFindType(origtypes, s, true) == 1) {
|
||||
FREE_C_HEAP_ARRAY(char, s, mtInternal);
|
||||
FREE_C_HEAP_ARRAY(char, s);
|
||||
return 1;
|
||||
}
|
||||
FREE_C_HEAP_ARRAY(char, s, mtInternal);
|
||||
FREE_C_HEAP_ARRAY(char, s);
|
||||
}
|
||||
if (strstr(typeName, "const ") == typeName) {
|
||||
const char * s = typeName + strlen("const ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue