[ZBX-7919] Unnecessary allocation overhead for hashset entries Created: 2014 Mar 10 Updated: 2017 May 30 Resolved: 2014 Mar 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.0 |
Fix Version/s: | 2.2.3rc1, 2.2.3 |
Type: | Incident report | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | valuecache | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | hashset-entry-fix.diff |
Description |
The hashset entry size calculation is wrong, resulting in allocating +3 bytes more than it should. While the fix is trivial, it must be checked for compilation errors on Solaris and other 'exotic' systems. |
Comments |
Comment by Andris Zeila [ 2014 Mar 10 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7919 |
Comment by Aleksandrs Saveljevs [ 2014 Mar 13 ] |
Tested on Linux 2.4, Linux 3.12, kFreeBSD 9.0, FreeBSD 4.2, FreeBSD 8.2, NetBSD 5.0, OpenBSD 3.9, Solaris 9, Solaris 10, Windows 2008, HP-UX 11.11, HP-UX 11.23, AIX 5.3. |
Comment by Andris Zeila [ 2014 Mar 13 ] |
Released in: |