mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6772413: code cleanup
Removed lines in adm64.make with interpret.o and moved few constant strings from header files. Reviewed-by: never
This commit is contained in:
parent
ce3f3dd8d3
commit
f2c8d25c73
5 changed files with 12 additions and 13 deletions
|
@ -95,7 +95,7 @@ typedef struct {
|
|||
} PerfDataEntry;
|
||||
|
||||
// Prefix of performance data file.
|
||||
static const char PERFDATA_NAME[] = "hsperfdata";
|
||||
extern const char PERFDATA_NAME[];
|
||||
|
||||
// UINT_CHARS contains the number of characters holding a process id
|
||||
// (i.e. pid). pid is defined as unsigned "int" so the maximum possible pid value
|
||||
|
@ -103,11 +103,6 @@ static const char PERFDATA_NAME[] = "hsperfdata";
|
|||
// string.
|
||||
static const size_t UINT_CHARS = 10;
|
||||
|
||||
// Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating
|
||||
// character will be included in the sizeof(PERFDATA_NAME) operation.
|
||||
static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) +
|
||||
UINT_CHARS + 1;
|
||||
|
||||
/* the PerfMemory class manages creation, destruction,
|
||||
* and allocation of the PerfData region.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue