atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
461 stars 139 forks source link

String intern is an expensive function, cpu wise. Hence putting it behind flag #210

Open nikhildp opened 6 months ago

nikhildp commented 6 months ago

For jvms with bigger heapsize, String constant pool also can grow quite huge. This will cause latency in String.intern() call. This is a trade off between heap space vs execution time. For smaller jvms intern call can be still helpful. So putting the same behind flag as a tuning parameter