8303069: Memory leak in CompilerOracle::parse_from_line
Reviewed-by: thartmann, jcking
This commit is contained in:
parent
6dd6c15ed4
commit
384a8b85a7
@ -309,6 +309,8 @@ static void register_command(TypedMethodOptionMatcher* matcher,
|
||||
|
||||
if (option == CompileCommand::Blackhole && !UnlockExperimentalVMOptions) {
|
||||
warning("Blackhole compile option is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions");
|
||||
// Delete matcher as we don't keep it
|
||||
delete matcher;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user