CPC G06F 16/289 (2019.01) [G06F 16/219 (2019.01); G06F 17/18 (2013.01)] | 15 Claims |
1. A computer-implemented method of managing statistics of a multi-threaded application, the statistics being represented by one or more statistics objects, comprising:
prefixing, to each statistics object of the one or more statistics objects, an object header having an owner identifier to identify an owner of the corresponding statistics object and a version counter with an initial version count to indicate a new statistical object;
associating each statistics object with a statistics class instance, each statistics class instance being associated with an associative registry that is configured to allocate possible objects of a size equal to or greater than to that of the statistics objects, the associative registry segmenting the statistics objects according to a size class;
constructing each allocated statistics object in an object frame after the object header; and
initializing the object header of each allocated statistics object.
|