[jboss-jira] [JBoss JIRA] (WFCORE-3734) ModelControllerClientFactoryImpl ResourceLeak
Martin Choma (JIRA)
issues at jboss.org
Tue Apr 10 04:53:00 EDT 2018
Martin Choma created WFCORE-3734:
------------------------------------
Summary: ModelControllerClientFactoryImpl ResourceLeak
Key: WFCORE-3734
URL: https://issues.jboss.org/browse/WFCORE-3734
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Martin Choma
Assignee: Brian Stansberry
Priority: Critical
Cloaseable Operation op is not closed in
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanceId=9677771&defectInstanceId=2129457&mergedDefectId=26122
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list