Abhitocode opened a new issue, #2396:
URL: https://github.com/apache/incubator-kie-issues/issues/2396

   When a process instance is loaded with the non-read-only constructor, its 
state gets unmarshalled twice.
   
   `findById(...)` unmarshalls the payload, but the `AbstractProcessInstance` 
constructor does not keep it. So the next call to 
`internalLoadProcessInstanceState()` reads the same row again and unmarshalls 
it a second time.
   
   The first unmarshall already had everything needed, so the second one is 
unnecessary. This is costly when loading many instances.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to