8304683: Memory leak in WB_IsMethodCompatible
Reviewed-by: thartmann
This commit is contained in:
parent
75168eaca3
commit
760c0128a4
@ -824,10 +824,9 @@ static bool is_excluded_for_compiler(AbstractCompiler* comp, methodHandle& mh) {
|
||||
return true;
|
||||
}
|
||||
DirectiveSet* directive = DirectivesStack::getMatchingDirective(mh, comp);
|
||||
if (directive->ExcludeOption) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
bool exclude = directive->ExcludeOption;
|
||||
DirectivesStack::release(directive);
|
||||
return exclude;
|
||||
}
|
||||
|
||||
static bool can_be_compiled_at_level(methodHandle& mh, jboolean is_osr, int level) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user