mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives Reviewed-by: kvn
This commit is contained in:
parent
e699dcb655
commit
8c0ad215bc
9 changed files with 46 additions and 10 deletions
|
@ -4268,8 +4268,11 @@ public:
|
|||
diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
|
||||
"Disable backwards compatibility for compile commands.") \
|
||||
\
|
||||
diagnostic(bool, PrintCompilerDirectives, false, \
|
||||
"Print compiler directives on installation.")
|
||||
diagnostic(bool, CompilerDirectivesPrint, false, \
|
||||
"Print compiler directives on installation.") \
|
||||
diagnostic(int, CompilerDirectivesLimit, 50, \
|
||||
"Limit on number of compiler directives.")
|
||||
|
||||
|
||||
/*
|
||||
* Macros for factoring of globals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue