Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12671

JdbcStringBasedStore remove class variables only used in start()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 12.1.0.CR1
    • 12.0.0.Final
    • Loaders and Stores
    • None

    Description

      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

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: