XAresource Leaks XID instances If Equivalent (but different) XID Instances Are Used
(Doc ID 1960827.1)
Last updated on FEBRUARY 03, 2019
Applies to:JDBC - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
XAResource methods such as start, end, prepare, commit, etc. each take an Xid argument.
Per Xid API Specification, javax.transaction.xa.Xid is an interface which defines transaction identity using 3 methods:
Using different instances which have identical values for the global transaction ID, branch qualifier and format ID, during the course of a transaction in calling the XAResource methods, Xid instances leaks.
After a long XA application run, memory profile shows a huge collection XID objects.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document