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:
Max Ockner 2014-12-01 12:16:15 -05:00 committed by Coleen Phillimore
parent 6c1cf6ba45
commit 91dbd4f088
91 changed files with 354 additions and 354 deletions

View file

@ -326,7 +326,7 @@ bool FileMapInfo::init_from_file(int fd) {
n = os::read(fd, _paths_misc_info, (unsigned int)info_size);
if (n != info_size) {
fail_continue("Unable to read the shared path info header.");
FREE_C_HEAP_ARRAY(char, _paths_misc_info, mtClass);
FREE_C_HEAP_ARRAY(char, _paths_misc_info);
_paths_misc_info = NULL;
return false;
}
@ -709,7 +709,7 @@ bool FileMapInfo::validate_header() {
}
if (_paths_misc_info != NULL) {
FREE_C_HEAP_ARRAY(char, _paths_misc_info, mtClass);
FREE_C_HEAP_ARRAY(char, _paths_misc_info);
_paths_misc_info = NULL;
}
return status;