mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +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
|
@ -37,8 +37,6 @@ ifeq ("${Platform_compiler}", "sparcWorks")
|
||||||
|
|
||||||
# _lwp_create_interpose must have a frame
|
# _lwp_create_interpose must have a frame
|
||||||
OPT_CFLAGS/os_solaris_x86_64.o = -xO1
|
OPT_CFLAGS/os_solaris_x86_64.o = -xO1
|
||||||
# force C++ interpreter to be full optimization
|
|
||||||
#OPT_CFLAGS/interpret.o = -fast -O4
|
|
||||||
|
|
||||||
# Temporary until SS10 C++ compiler is fixed
|
# Temporary until SS10 C++ compiler is fixed
|
||||||
OPT_CFLAGS/generateOptoStub.o = -xO2
|
OPT_CFLAGS/generateOptoStub.o = -xO2
|
||||||
|
@ -50,8 +48,6 @@ ifeq ("${Platform_compiler}", "gcc")
|
||||||
# gcc
|
# gcc
|
||||||
# The serviceability agent relies on frame pointer (%rbp) to walk thread stack
|
# The serviceability agent relies on frame pointer (%rbp) to walk thread stack
|
||||||
CFLAGS += -fno-omit-frame-pointer
|
CFLAGS += -fno-omit-frame-pointer
|
||||||
# force C++ interpreter to be full optimization
|
|
||||||
#OPT_CFLAGS/interpret.o = -O3
|
|
||||||
|
|
||||||
else
|
else
|
||||||
# error
|
# error
|
||||||
|
|
|
@ -256,10 +256,10 @@
|
||||||
develop(intx, PrintIdealGraphPort, 4444, \
|
develop(intx, PrintIdealGraphPort, 4444, \
|
||||||
"Ideal graph printer to network port") \
|
"Ideal graph printer to network port") \
|
||||||
\
|
\
|
||||||
develop(ccstr, PrintIdealGraphAddress, "127.0.0.1", \
|
notproduct(ccstr, PrintIdealGraphAddress, "127.0.0.1", \
|
||||||
"IP address to connect to visualizer") \
|
"IP address to connect to visualizer") \
|
||||||
\
|
\
|
||||||
develop(ccstr, PrintIdealGraphFile, NULL, \
|
notproduct(ccstr, PrintIdealGraphFile, NULL, \
|
||||||
"File to dump ideal graph to. If set overrides the " \
|
"File to dump ideal graph to. If set overrides the " \
|
||||||
"use of the network") \
|
"use of the network") \
|
||||||
\
|
\
|
||||||
|
|
|
@ -493,7 +493,7 @@ class CommandLineFlags {
|
||||||
develop(bool, DeoptimizeALot, false, \
|
develop(bool, DeoptimizeALot, false, \
|
||||||
"deoptimize at every exit from the runtime system") \
|
"deoptimize at every exit from the runtime system") \
|
||||||
\
|
\
|
||||||
develop(ccstrlist, DeoptimizeOnlyAt, "", \
|
notproduct(ccstrlist, DeoptimizeOnlyAt, "", \
|
||||||
"a comma separated list of bcis to deoptimize at") \
|
"a comma separated list of bcis to deoptimize at") \
|
||||||
\
|
\
|
||||||
product(bool, DeoptimizeRandom, false, \
|
product(bool, DeoptimizeRandom, false, \
|
||||||
|
|
|
@ -25,6 +25,14 @@
|
||||||
# include "incls/_precompiled.incl"
|
# include "incls/_precompiled.incl"
|
||||||
# include "incls/_perfMemory.cpp.incl"
|
# include "incls/_perfMemory.cpp.incl"
|
||||||
|
|
||||||
|
// Prefix of performance data file.
|
||||||
|
const char PERFDATA_NAME[] = "hsperfdata";
|
||||||
|
|
||||||
|
// 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;
|
||||||
|
|
||||||
char* PerfMemory::_start = NULL;
|
char* PerfMemory::_start = NULL;
|
||||||
char* PerfMemory::_end = NULL;
|
char* PerfMemory::_end = NULL;
|
||||||
char* PerfMemory::_top = NULL;
|
char* PerfMemory::_top = NULL;
|
||||||
|
|
|
@ -95,7 +95,7 @@ typedef struct {
|
||||||
} PerfDataEntry;
|
} PerfDataEntry;
|
||||||
|
|
||||||
// Prefix of performance data file.
|
// 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
|
// 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
|
// (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.
|
// string.
|
||||||
static const size_t UINT_CHARS = 10;
|
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,
|
/* the PerfMemory class manages creation, destruction,
|
||||||
* and allocation of the PerfData region.
|
* and allocation of the PerfData region.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue