[
https://issues.apache.org/jira/browse/IGNITE-21692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viacheslav Blinov updated IGNITE-21692:
---------------------------------------
Description:
Issue detected by SpotBugs but is also highlighted by Idea inspection.
Specifically the warning reported is:
{noformat}
M P UPM_UNCALLED_PRIVATE_METHOD UPM: Private method
org.apache.ignite.internal.pagememory.freelist.AbstractFreeList.initReusedPage(Storable,
long, IoStatisticsHolder) is never called At AbstractFreeList.java:[lines
707-726]
{noformat}
Method `initReusedPage` is never called which can be an indicator of an issue.
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
was:
Issue detected by SpotBugs but is also highlighted by Idea inspection.
Specifically the warning reported is:
{noformat}
M M IS2_INCONSISTENT_SYNC IS: Inconsistent synchronization of
org.apache.ignite.internal.metrics.exporters.BasicMetricExporter.configuration;
locked 66% of time Unsynchronized access at BasicMetricExporter.java:[line 41]
{noformat}
Field `configuration` are accessed in both synchronized and unsynchronized
fashion. This can be a source of hard to catch bug.
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
> AbstractFreeList has unused private method `initReusedPage`
> -----------------------------------------------------------
>
> Key: IGNITE-21692
> URL: https://issues.apache.org/jira/browse/IGNITE-21692
> Project: Ignite
> Issue Type: Task
> Reporter: Viacheslav Blinov
> Priority: Major
>
> Issue detected by SpotBugs but is also highlighted by Idea inspection.
> Specifically the warning reported is:
> {noformat}
> M P UPM_UNCALLED_PRIVATE_METHOD UPM: Private method
> org.apache.ignite.internal.pagememory.freelist.AbstractFreeList.initReusedPage(Storable,
> long, IoStatisticsHolder) is never called At AbstractFreeList.java:[lines
> 707-726]
> {noformat}
> Method `initReusedPage` is never called which can be an indicator of an issue.
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)