mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -89,6 +89,7 @@ public:
|
|||
static DirectiveSet* getDefaultDirective(AbstractCompiler* comp);
|
||||
static void push(CompilerDirectives* directive);
|
||||
static void pop();
|
||||
static bool check_capacity(int request_size, outputStream* st);
|
||||
static void clear();
|
||||
static void print(outputStream* st);
|
||||
static void release(DirectiveSet* set);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue