Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21698

LocalConfigurationStorage reboxes unboxed value

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Issue detected by SpotBugs. Specifically the warning reported is:

      M P BX_UNBOXING_IMMEDIATELY_REBOXED Bx: Boxed value is unboxed and then immediately reboxed in org.apache.ignite.internal.configuration.storage.LocalConfigurationStorage.lambda$lastRevision$6()  At LocalConfigurationStorage.java:[line 232] 

      This might cause unwanted additional GC pressure.

      Investigate whenever this is a false-positive and we should suppress it, or we should make a proper fix.

      At the result of investigation corresponding TODO should be removed in spotbugs-excludes.xml

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vblinov Viacheslav Blinov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: