mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7189254: Change makefiles for more flexibility to override defaults
Change makefiles so that targets and parameters can be overridden by alternate makefiles. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9e9db7f831
commit
c5eaaaa070
56 changed files with 1068 additions and 357 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "runtime/globals.hpp"
|
||||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
#ifdef COMPILER1
|
||||
#include "c1/c1_globals.hpp"
|
||||
#endif
|
||||
|
@ -157,8 +158,16 @@ enum MemoryType {
|
|||
|
||||
typedef unsigned short MEMFLAGS;
|
||||
|
||||
#if INCLUDE_NMT
|
||||
|
||||
extern bool NMT_track_callsite;
|
||||
|
||||
#else
|
||||
|
||||
const bool NMT_track_callsite = false;
|
||||
|
||||
#endif // INCLUDE_NMT
|
||||
|
||||
// debug build does not inline
|
||||
#if defined(_DEBUG_)
|
||||
#define CURRENT_PC (NMT_track_callsite ? os::get_caller_pc(1) : 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue