Opened 5 weeks ago

Last modified 3 weeks ago

#3051 readytorelease defect

Synchronization issue of data members with [ThreadStatic] attribute in Batch and Native interpreters

Reported by: bburlacu Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Problems.DataAnalysis.Symbolic Version: trunk
Keywords: Cc:

Description

The two data members in question cachedData and dataset are not marked as static, therefore the [ThreadStatic] attribute has no effect. This causes issues when the runtime reuses threads, in which case the data becomes out of sync.

Change History (3)

comment:1 Changed 5 weeks ago by bburlacu

  • Status changed from new to accepted

comment:2 Changed 5 weeks ago by bburlacu

  • Owner changed from bburlacu to mkommend
  • Status changed from accepted to reviewing

r17402: Correctly add static attribute.

comment:3 Changed 3 weeks ago by mkommend

  • Status changed from reviewing to readytorelease

Reviewed changes in r17402.

The changes look good, but I couldn't verify that all issues are resolved due to difficulties in reproducing the bug.

Note: See TracTickets for help on using tickets.