< prev index next >

src/hotspot/share/compiler/compilerDirectives.hpp

Print this page

 34 #include "utilities/tribool.hpp"
 35 
 36   //      Directives flag name,    type, default value, compile command name
 37   #define compilerdirectives_common_other_flags(cflags) \
 38     cflags(Enable,                  bool, false, Unknown) \
 39     cflags(Exclude,                 bool, false, Unknown) \
 40     cflags(BreakAtExecute,          bool, false, BreakAtExecute) \
 41     cflags(BreakAtCompile,          bool, false, BreakAtCompile) \
 42     cflags(Log,                     bool, LogCompilation, Unknown) \
 43     cflags(MemLimit,                intx, 0, MemLimit) \
 44     cflags(MemStat,                 uintx, 0, MemStat) \
 45     cflags(PrintAssembly,           bool, PrintAssembly, PrintAssembly) \
 46     cflags(PrintCompilation,        bool, PrintCompilation, PrintCompilation) \
 47     cflags(PrintInlining,           bool, PrintInlining, PrintInlining) \
 48     cflags(PrintNMethods,           bool, PrintNMethods, PrintNMethods) \
 49     cflags(BackgroundCompilation,   bool, BackgroundCompilation, BackgroundCompilation) \
 50     cflags(ReplayInline,            bool, false, ReplayInline) \
 51     cflags(DumpReplay,              bool, false, DumpReplay) \
 52     cflags(DumpInline,              bool, false, DumpInline) \
 53     cflags(CompilerDirectivesIgnoreCompileCommands, bool, CompilerDirectivesIgnoreCompileCommands, Unknown) \
 54     cflags(RepeatCompilation,       intx, RepeatCompilation, RepeatCompilation)






 55 #define compilerdirectives_common_string_flags(cflags)                           \
 56   cflags(DisableIntrinsic,        ccstrlist, DisableIntrinsic, DisableIntrinsic) \
 57   cflags(ControlIntrinsic,        ccstrlist, ControlIntrinsic, ControlIntrinsic)
 58 #define compilerdirectives_common_flags(cflags) \
 59   compilerdirectives_common_other_flags(cflags) \
 60   compilerdirectives_common_string_flags(cflags)
 61 
 62 #ifdef COMPILER1
 63   #define compilerdirectives_c1_other_flags(cflags)
 64   #define compilerdirectives_c1_string_flags(cflags)
 65 #else
 66   #define compilerdirectives_c1_other_flags(cflags)
 67   #define compilerdirectives_c1_string_flags(cflags)
 68 #endif
 69 
 70 #define compilerdirectives_c1_flags(cflags) \
 71   compilerdirectives_c1_other_flags(cflags) \
 72   compilerdirectives_c1_string_flags(cflags)
 73 
 74 #ifdef COMPILER2

 34 #include "utilities/tribool.hpp"
 35 
 36   //      Directives flag name,    type, default value, compile command name
 37   #define compilerdirectives_common_other_flags(cflags) \
 38     cflags(Enable,                  bool, false, Unknown) \
 39     cflags(Exclude,                 bool, false, Unknown) \
 40     cflags(BreakAtExecute,          bool, false, BreakAtExecute) \
 41     cflags(BreakAtCompile,          bool, false, BreakAtCompile) \
 42     cflags(Log,                     bool, LogCompilation, Unknown) \
 43     cflags(MemLimit,                intx, 0, MemLimit) \
 44     cflags(MemStat,                 uintx, 0, MemStat) \
 45     cflags(PrintAssembly,           bool, PrintAssembly, PrintAssembly) \
 46     cflags(PrintCompilation,        bool, PrintCompilation, PrintCompilation) \
 47     cflags(PrintInlining,           bool, PrintInlining, PrintInlining) \
 48     cflags(PrintNMethods,           bool, PrintNMethods, PrintNMethods) \
 49     cflags(BackgroundCompilation,   bool, BackgroundCompilation, BackgroundCompilation) \
 50     cflags(ReplayInline,            bool, false, ReplayInline) \
 51     cflags(DumpReplay,              bool, false, DumpReplay) \
 52     cflags(DumpInline,              bool, false, DumpInline) \
 53     cflags(CompilerDirectivesIgnoreCompileCommands, bool, CompilerDirectivesIgnoreCompileCommands, Unknown) \
 54     cflags(RepeatCompilation,       intx, RepeatCompilation, RepeatCompilation) \
 55     cflags(PrecompileRecorded,      uintx, 0, PrecompileRecorded) \
 56     cflags(DontPrecompile,          bool, false, DontPrecompile) \
 57     cflags(DontPreload,             bool, false, DontPreload) \
 58     cflags(IgnoreRecordedProfile,   bool, false, IgnoreRecordedProfile) \
 59     cflags(IgnorePrecompiled,       bool, false, IgnorePrecompiled) \
 60     cflags(TooManyTrapsAtBCI,       ccstrlist, "", TooManyTrapsAtBCI)
 61 #define compilerdirectives_common_string_flags(cflags)                           \
 62   cflags(DisableIntrinsic,        ccstrlist, DisableIntrinsic, DisableIntrinsic) \
 63   cflags(ControlIntrinsic,        ccstrlist, ControlIntrinsic, ControlIntrinsic)
 64 #define compilerdirectives_common_flags(cflags) \
 65   compilerdirectives_common_other_flags(cflags) \
 66   compilerdirectives_common_string_flags(cflags)
 67 
 68 #ifdef COMPILER1
 69   #define compilerdirectives_c1_other_flags(cflags)
 70   #define compilerdirectives_c1_string_flags(cflags)
 71 #else
 72   #define compilerdirectives_c1_other_flags(cflags)
 73   #define compilerdirectives_c1_string_flags(cflags)
 74 #endif
 75 
 76 #define compilerdirectives_c1_flags(cflags) \
 77   compilerdirectives_c1_other_flags(cflags) \
 78   compilerdirectives_c1_string_flags(cflags)
 79 
 80 #ifdef COMPILER2
< prev index next >