Hi,

Juha-P Lindfors wrote:
> 
> Looks like System.getProperty spends alot of time checking security:
> 
> 14.44% - 4008 ms - java.lang.System.getProperty()
>   14.28% - 3965 ms - java.lang.SecurityManager.checkPropertyAccess()
> 
> Which would slow down the txCapsule.reUse().createXid()

Oh yes. getProperty() calls a security manager if present.

To fix, the first two lines of both TxCapsule.createXid()
methods should be swapped. I do not have time for this
tonight, but will do it tomorrow if not already done by
someone else.


Best Regards,

Ole Husgaard.

Reply via email to