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

JdbcStringBasedStore remove class variables only used in start()

    XMLWordPrintable

    Details

      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

            Assignee:
            ryanemerson Ryan Emerson
            Reporter:
            ryanemerson Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: