mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8046607: Code cleanup: PerfMemory::backing_store_filename() should be removed
Removed PerfMemory::backing_store_filename() API since it is not used anywhere. Reviewed-by: sla, hseigel
This commit is contained in:
parent
259a454043
commit
db57351f43
6 changed files with 0 additions and 23 deletions
|
@ -1020,7 +1020,3 @@ void PerfMemory::detach(char* addr, size_t bytes, TRAPS) {
|
||||||
|
|
||||||
unmap_shared(addr, bytes);
|
unmap_shared(addr, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
char* PerfMemory::backing_store_filename() {
|
|
||||||
return backing_store_file_name;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1043,7 +1043,3 @@ void PerfMemory::detach(char* addr, size_t bytes, TRAPS) {
|
||||||
|
|
||||||
unmap_shared(addr, bytes);
|
unmap_shared(addr, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
char* PerfMemory::backing_store_filename() {
|
|
||||||
return backing_store_file_name;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1049,7 +1049,3 @@ void PerfMemory::detach(char* addr, size_t bytes, TRAPS) {
|
||||||
|
|
||||||
unmap_shared(addr, bytes);
|
unmap_shared(addr, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
char* PerfMemory::backing_store_filename() {
|
|
||||||
return backing_store_file_name;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1068,7 +1068,3 @@ void PerfMemory::detach(char* addr, size_t bytes, TRAPS) {
|
||||||
|
|
||||||
unmap_shared(addr, bytes);
|
unmap_shared(addr, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
char* PerfMemory::backing_store_filename() {
|
|
||||||
return backing_store_file_name;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1846,7 +1846,3 @@ void PerfMemory::detach(char* addr, size_t bytes, TRAPS) {
|
||||||
remove_file_mapping(addr);
|
remove_file_mapping(addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
char* PerfMemory::backing_store_filename() {
|
|
||||||
return sharedmem_fileName;
|
|
||||||
}
|
|
||||||
|
|
|
@ -155,9 +155,6 @@ class PerfMemory : AllStatic {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// filename of backing store or NULL if none.
|
|
||||||
static char* backing_store_filename();
|
|
||||||
|
|
||||||
// returns the complete file path of hsperfdata.
|
// returns the complete file path of hsperfdata.
|
||||||
// the caller is expected to free the allocated memory.
|
// the caller is expected to free the allocated memory.
|
||||||
static char* get_perfdata_file_path();
|
static char* get_perfdata_file_path();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue