]
Pedro Ruivo updated ISPN-12671:
-------------------------------
Resolution: Done
Status: Resolved (was: Pull Request Sent)
JdbcStringBasedStore remove class variables only used in start()
----------------------------------------------------------------
Key: ISPN-12671
URL:
https://issues.redhat.com/browse/ISPN-12671
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Affects Versions: 12.0.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 12.1.0.Final
The following methods are only used in the start() method and can be obtained from ctx
and it saves some memory:
* globalConfiguration
* cacheName
* isDistributedCache
Saving (computed by JOL plugin):
compressed oops: 64 bytes => 56 bytes
8bytes align: 120 bytes => 96 bytes